summaryrefslogtreecommitdiff
path: root/lisp/email.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/email.el')
-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