]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow the user to send a bug report after initially saying "no"
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 28 Jul 2019 11:50:36 +0000 (13:50 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 28 Jul 2019 11:50:36 +0000 (13:50 +0200)
* lisp/mail/emacsbug.el (report-emacs-bug-hook): Don't remove the
address in the To: header (or the hook) after the user has said
"no" (bug#23799).  This made it impossible for the user to do
touch-ups and then resent the bug report.

lisp/mail/emacsbug.el

index c637e242c424d2b8e03c2d992b14946cb94bf325..44765749fe75d4b8901434fb55b910381fd46a20 100644 (file)
@@ -433,11 +433,6 @@ usually do not have translators for other languages.\n\n")))
     (unless (or report-emacs-bug-no-confirmation
                (yes-or-no-p
                 "Send this bug report to the Emacs maintainers? "))
-      (goto-char (point-min))
-      (if (search-forward "To: ")
-          (delete-region (point) (line-end-position)))
-      (if report-emacs-bug-send-hook
-          (kill-local-variable report-emacs-bug-send-hook))
       (with-output-to-temp-buffer "*Bug Help*"
        (princ (substitute-command-keys
                 (format "\