mirror of https://github.com/djcb/mu.git
mu4e-draft: invoke mu4e-compose-pre-hook
We should invoke it, as documented.
This commit is contained in:
parent
142d91f218
commit
3ff2f9f1ac
|
@ -553,7 +553,8 @@ This is mu4e's version of `message-hidden-headers'.")
|
|||
"Get ready for message composition.
|
||||
PARENT is the parent message, if any."
|
||||
(unless (mu4e-running-p) (mu4e 'background)) ;; start if needed
|
||||
(mu4e--context-autoswitch parent mu4e-compose-context-policy))
|
||||
(mu4e--context-autoswitch parent mu4e-compose-context-policy)
|
||||
(run-hooks 'mu4e-compose-pre-hook))
|
||||
|
||||
(defun mu4e--prepare-draft-headers (compose-type)
|
||||
"Add extra headers for message based on COMPOSE-TYPE."
|
||||
|
|
Loading…
Reference in New Issue