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/user" . ?d)))
;; always add myself as BCC
(add-hook 'mu4e-compose-mode-hook
(lambda ()
"Add a BCC header"
(save-excursion (message-add-header (concat "Bcc: " user-mail-address "\n")))
;; enable spell checking
(add-hook 'mu4e-compose-mode-hook #'flyspell-mode)
;; always BCC myself
(add-hook 'mu4e-compose-mode-hook (lambda () (save-excursion (message-add-header (concat "Bcc: " user-mail-address "\n")))))
;; sign message
(mml-secure-message-sign-pgpmime))))
(add-hook 'mu4e-compose-mode-hook (lambda () (mml-secure-message-sign-pgpmime))))
;; elfeed
;; emacs feed reader