summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example.emacs.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/example.emacs.el b/example.emacs.el
index 6be08a2..4fe349a 100644
--- a/example.emacs.el
+++ b/example.emacs.el
@@ -7,6 +7,10 @@
(setq message-templ-config-alist '(("^To:.*notmuch@notmuchmail.org" my-func)))
+(defun do-stuff ()
+ (setq notmuch-draft-folder "Sekrit.draft")
+ (message "hello world"))
+
(setq message-templ-alist '(("alternate"
("From" . "David Bremner <david@example.com>")
("Bcc" . "david@example.com"))
@@ -18,5 +22,8 @@
("Bcc" . "david@example.com")
(top-file . "~/teaching/csXXXX/marks-top.msg")
(bottom-file . "~/teaching/csXXXX/marks-bottom.msg")
- )))
+ )
+ ("Agent Smith"
+ ("From" . "smith@example.com")
+ do-stuff)))