From: Lars Ingebrigtsen Date: Wed, 16 Sep 2020 11:25:10 +0000 (+0200) Subject: Tweak previous report-emacs-bug-hook change X-Git-Tag: emacs-28.0.90~6044 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b43287e41307ea2cb331b8915c8b1088ba9e5e9f;p=emacs.git 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. --- 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)