]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-mua.el
doc/build: use $(MAKE) instead of make
[notmuch] / emacs / notmuch-mua.el
index fc8ac687e8208b64d95c9032e7e3e22ea989e5ca..e205fa4c92ff9ce7451e1e9c908acac101a978aa 100644 (file)
@@ -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))