From 3806ddcb76ae19990c5e189b4f12991434d35bfd Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 28 Jul 2019 13:50:36 +0200 Subject: [PATCH] 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. --- lisp/mail/emacsbug.el | 5 ----- 1 file changed, 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 "\ -- 2.39.2