X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-mua.el;h=e205fa4c92ff9ce7451e1e9c908acac101a978aa;hb=3d0fd40eb0eca54fd05460203ae754c63f633d69;hp=fc8ac687e8208b64d95c9032e7e3e22ea989e5ca;hpb=045f0e455ac94e2393d0d729c9bbdf3459a4860f;p=notmuch diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index fc8ac687..e205fa4c 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -306,7 +306,7 @@ modified. This function is notmuch addaptation of (if window ;; Raise the frame already displaying the message buffer. (progn - (gnus-select-frame-set-input-focus (window-frame window)) + (select-frame-set-input-focus (window-frame window)) (select-window window)) (funcall switch-function buffer) (set-buffer buffer)) @@ -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))