Emacs: mu4e: splittet hooks

This commit is contained in:
Marcel Kapfer 2018-02-23 09:57:09 +01:00
parent 3c88aeaff5
commit ca03e81f71
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -917,13 +917,12 @@
("/mailbox/debian/devel-changes" . ?c) ("/mailbox/debian/devel-changes" . ?c)
("/mailbox/debian/user" . ?d))) ("/mailbox/debian/user" . ?d)))
;; always add myself as BCC ;; enable spell checking
(add-hook 'mu4e-compose-mode-hook (add-hook 'mu4e-compose-mode-hook #'flyspell-mode)
(lambda () ;; always BCC myself
"Add a BCC header" (add-hook 'mu4e-compose-mode-hook (lambda () (save-excursion (message-add-header (concat "Bcc: " user-mail-address "\n")))))
(save-excursion (message-add-header (concat "Bcc: " user-mail-address "\n")))
;; sign message ;; sign message
(mml-secure-message-sign-pgpmime)))) (add-hook 'mu4e-compose-mode-hook (lambda () (mml-secure-message-sign-pgpmime))))
;; elfeed ;; elfeed
;; emacs feed reader ;; emacs feed reader