summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--message-templ.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/message-templ.el b/message-templ.el
index cd4fc6f..a2f54c7 100644
--- a/message-templ.el
+++ b/message-templ.el
@@ -55,6 +55,18 @@ Remaining elements indicate actions."
(sexp :tag "Function")))))
:group 'message-templ)
+(defcustom message-templ-config-alist nil
+ "Alist of actions to apply
+First element of each list is a regex which triggers the action if matched.
+Remaining elements indicate actions."
+ :type '(repeat (list (string :tag "Header Regex")
+ (repeat
+ :inline t
+ (choice (cons (sexp :tag "Field(Variable)")
+ (sexp :tag "Value"))
+ (sexp :tag "Function")))))
+ :group 'message-templ)
+
(defcustom message-templ-visible-select t
"*If non-nil, select template with visible."
:type 'boolean