Mu4e: apply msg compose advice to more situations

This commit is contained in:
TEC 2020-10-31 19:11:57 +08:00
parent 089b4e6b04
commit ba5dee4a19
No known key found for this signature in database
GPG key ID: 779591AFDB81F06C

View file

@ -248,6 +248,8 @@ Usefull for affecting HTML export config.")
(defadvice! mu4e-maybe-toggle-org-msg (orig-fn &optional toggle-p)
:around #'mu4e-compose-new
:around #'mu4e-compose-reply
:around #'mu4e-compose-forward
:around #'mu4e-compose-resend
(interactive "p")
(mu4e-compose-org-msg-handle-toggle (/= 1 (or toggle-p 0)))
(funcall orig-fn))