summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-07-28 13:50:36 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-07-28 13:50:36 +0200
commit3806ddcb76ae19990c5e189b4f12991434d35bfd (patch)
tree3a75aec820c2e5088343c959a9f370a05c55f27c
parent09b204142ee49b4d613b5590460f868bdc929b90 (diff)
downloademacs-3806ddcb76ae19990c5e189b4f12991434d35bfd.tar.gz
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.
-rw-r--r--lisp/mail/emacsbug.el5
1 files changed, 0 insertions, 5 deletions
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 "\