diff options
Diffstat (limited to '.emacs.d/snippets')
-rw-r--r-- | .emacs.d/snippets/email-module.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.emacs.d/snippets/email-module.el b/.emacs.d/snippets/email-module.el index fc0a235..494bd7b 100644 --- a/.emacs.d/snippets/email-module.el +++ b/.emacs.d/snippets/email-module.el @@ -1,3 +1,9 @@ + + +(when (equal system-type 'darwin) + (use-package mu4e + :load-path "/opt/homebrew/share/emacs/site-lisp/mu/mu4e/")) + (require 'mu4e) (setq mu4e-update-interval (* 10 60)) @@ -7,7 +13,7 @@ (defun set-mu4e-context (context-name full-name mail-address signature server) "Return a mu4e context named CONTEXT-NAME with :match-func matching folder name CONTEXT-NAME in Maildir. The context's `user-mail-address', - `user-full-name' and `mu4e-compose-signature'`smtpmail-smpt-server'. is set to MAIL-ADDRESS + `user-full-name' and `mu4e-compose-signature'`smtpmail-smpt-server' is set to MAIL-ADDRESS FULL-NAME SIGNATURE and SERVER respectively. Special folders are set to context specific folders." (let ((dir-name (concat "/" context-name))) |