summaryrefslogtreecommitdiffhomepage
path: root/email.org
diff options
context:
space:
mode:
Diffstat (limited to 'email.org')
-rw-r--r--email.org12
1 files changed, 7 insertions, 5 deletions
diff --git a/email.org b/email.org
index 1232bbd..f02b605 100644
--- a/email.org
+++ b/email.org
@@ -5,7 +5,8 @@
* message mode
*** Customization
#+begin_src emacs-lisp
- (defvar jao-mails "")
+ (defvar jao-mails)
+ (defvar jao-extra-mails)
(defvar jao-mails-regexp)
(setq jao-mails-regexp (regexp-opt jao-mails))
@@ -17,11 +18,12 @@
(setq password-cache-expiry nil)
(setq message-generate-headers-first t)
(setq message-forward-before-signature nil)
- (setq message-alternative-emails jao-mails-regexp)
+ (setq message-alternative-emails
+ (regexp-opt (append jao-mails jao-extra-mails)))
(setq message-dont-reply-to-names
- (format "%s\\|%s" jao-mails-regexp (regexp-opt '("noreply@" "@noreply"
- "no-reply@" "@no-reply"
- "notifications@github"))))
+ (regexp-opt (append jao-mails '("noreply@" "@noreply"
+ "no-reply@" "@no-reply"
+ "notifications@github"))))
(setq message-citation-line-format "On %a, %b %d %Y, %N wrote:\n")
(setq message-citation-line-function 'message-insert-formatted-citation-line)