diff options
| author | David Edmondson <dme@dme.org> | 2018-09-25 16:09:10 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2018-09-28 20:22:42 -0300 |
| commit | e8cb6b2cd63c9ea8a011cb9f672baf04b4c14f7b (patch) | |
| tree | 11f454bf4c8930159c7084077c407fa6ef0e5369 /emacs | |
| parent | 4e213fe9b4332deb3f11f1dbc71cbdd47a8a1525 (diff) | |
emacs: Call `notmuch-mua-send-hook' hooks when sending a message
Previously any hook functions attached to `notmuch-mua-send-hook' were
ignored.
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/notmuch-mua.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index fc8ac687..df2ac447 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -543,6 +543,7 @@ unencrypted. Really send? ")))) (defun notmuch-mua-send-common (arg &optional exit) (interactive "P") + (run-hooks 'notmuch-mua-send-hook) (when (and (notmuch-mua-check-no-misplaced-secure-tag) (notmuch-mua-check-secure-tag-has-newline)) (letf (((symbol-function 'message-do-fcc) #'notmuch-maildir-message-do-fcc)) |
