]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak previous report-emacs-bug-hook change
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 16 Sep 2020 11:25:10 +0000 (13:25 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 16 Sep 2020 11:25:10 +0000 (13:25 +0200)
* lisp/mail/emacsbug.el (report-emacs-bug-hook): Add to the hook
locally so sending stuff from Message afterwards won't trigger the
same question.

lisp/mail/emacsbug.el

index 23b60be97f16ff849e81a9bb58129ca4c97f77b4..36d1dc7cac8cb7533260ef93eb44d8b7f8910d78 100644 (file)
@@ -456,7 +456,8 @@ and send the mail again%s."
                 (lambda ()
                   (when (y-or-n-p "Save this mail sending choice?")
                     (customize-save-variable 'send-mail-function
-                                             send-mail-function))))))
+                                             send-mail-function)))
+                nil t)))
   (or report-emacs-bug-no-confirmation
       ;; mailclient.el does not need a valid From
       (eq send-mail-function 'mailclient-send-it)