From: Lars Ingebrigtsen Date: Sun, 28 Jul 2019 11:50:36 +0000 (+0200) Subject: Allow the user to send a bug report after initially saying "no" X-Git-Tag: emacs-27.0.90~1817^2~55 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3806ddcb76ae19990c5e189b4f12991434d35bfd;p=emacs.git Allow the user to send a bug report after initially saying "no" * 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. --- diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index c637e242c42..44765749fe7 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -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 "\