summaryrefslogtreecommitdiff
path: root/lisp/mail/emacsbug.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-09-16 13:25:10 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-09-16 13:25:10 +0200
commitb43287e41307ea2cb331b8915c8b1088ba9e5e9f (patch)
tree3173b51d01b0d4af955e899e4a4cac4199aeba85 /lisp/mail/emacsbug.el
parentf028a893a552b0c38c35f949addb6a891e8586cc (diff)
downloademacs-b43287e41307ea2cb331b8915c8b1088ba9e5e9f.tar.gz
emacs-b43287e41307ea2cb331b8915c8b1088ba9e5e9f.tar.bz2
emacs-b43287e41307ea2cb331b8915c8b1088ba9e5e9f.zip
Tweak previous report-emacs-bug-hook change
* 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.
Diffstat (limited to 'lisp/mail/emacsbug.el')
-rw-r--r--lisp/mail/emacsbug.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 23b60be97f1..36d1dc7cac8 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -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)