Emacs: mu4e: splittet hooks
This commit is contained in:
parent
3c88aeaff5
commit
ca03e81f71
1 changed files with 6 additions and 7 deletions
|
@ -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
|
(add-hook 'mu4e-compose-mode-hook (lambda () (mml-secure-message-sign-pgpmime))))
|
||||||
(mml-secure-message-sign-pgpmime))))
|
|
||||||
|
|
||||||
;; elfeed
|
;; elfeed
|
||||||
;; emacs feed reader
|
;; emacs feed reader
|
||||||
|
|
Loading…
Reference in a new issue