Mu4e: Mask mu4e signature when composing org-msg
This commit is contained in:
parent
e76dcb328a
commit
d78cdc9a22
1 changed files with 6 additions and 0 deletions
|
@ -298,6 +298,12 @@ Usefull for affecting HTML export config.")
|
||||||
(mu4e-compose-org-msg-handle-toggle (/= 1 (or toggle-p 0)))
|
(mu4e-compose-org-msg-handle-toggle (/= 1 (or toggle-p 0)))
|
||||||
(funcall orig-fn))
|
(funcall orig-fn))
|
||||||
|
|
||||||
|
(defadvice! mu4e-draft-open-signature-a (orig-fn compose-type &optional msg)
|
||||||
|
"Prevent `mu4e-compose-signature' from being used with `org-msg-mode'."
|
||||||
|
:around #'mu4e-draft-open
|
||||||
|
(let ((mu4e-compose-signature (unless org-msg-mode mu4e-compose-signature)))
|
||||||
|
(funcall orig-fn compose-type msg)))
|
||||||
|
|
||||||
(map! :map org-msg-edit-mode-map
|
(map! :map org-msg-edit-mode-map
|
||||||
"TAB" #'org-msg-tab) ; only <tab> bound by default
|
"TAB" #'org-msg-tab) ; only <tab> bound by default
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue