[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b43287e: Tweak previous report-emacs-bug-hook change

From: Lars Ingebrigtsen
Subject: master b43287e: Tweak previous report-emacs-bug-hook change
Date: Wed, 16 Sep 2020 07:25:19 -0400 (EDT)

branch: master
commit b43287e41307ea2cb331b8915c8b1088ba9e5e9f
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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.
 lisp/mail/emacsbug.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 23b60be..36d1dc7 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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]