mirror of https://github.com/djcb/mu.git
use save-excursion in the mu4e-compose-mode-hook
This commit is contained in:
parent
dc5786792e
commit
a896a497b7
|
@ -1391,7 +1391,7 @@ message is fully formed when this hook runs. For example, to add a
|
|||
(add-hook 'mu4e-compose-mode-hook
|
||||
(defun my-add-bcc ()
|
||||
"Add a Bcc: header."
|
||||
(message-add-header "Bcc: me@@example.com\n")))
|
||||
(save-excursion (message-add-header "Bcc: me@@example.com\n"))))
|
||||
@end lisp
|
||||
|
||||
@noindent
|
||||
|
|
Loading…
Reference in New Issue