Commit 3806ddcb authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

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.
parent 09b20414
......@@ -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 "\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment