summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2015-01-13 14:16:44 +0100
committerrekado <rekado@elephly.net>2015-01-13 14:16:44 +0100
commit457c0687842ced313899bee9c9c001530c8f6099 (patch)
tree3e35f0806d440e83300c7062cc51c441606de9d0
parent422e8f7d24acef8392dee7046203b8cabb839849 (diff)
email: set mu4e-user-mail-address-list
-rw-r--r--lisp/email.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/email.el b/lisp/email.el
index df713a6..28810db 100644
--- a/lisp/email.el
+++ b/lisp/email.el
@@ -27,6 +27,10 @@
(mu4e-trash-folder "/private/Trash")
(mu4e-refile-folder "/private/Archives"))))
+(setq mu4e-user-mail-address-list
+ (mapcar (lambda (account) (cadr (assq 'user-mail-address account)))
+ my-mu4e-account-alist))
+
(defun my-mu4e-set-account ()
"Set the account for composing a message."
(let* ((account