[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 040cba5d333: * lisp/mail/emacsbug.el (report-emacs-bug): Insert e

From: Stefan Monnier
Subject: master 040cba5d333: * lisp/mail/emacsbug.el (report-emacs-bug): Insert empty X-Debbugs-Cc
Date: Thu, 7 Dec 2023 11:30:28 -0500 (EST)

branch: master
commit 040cba5d33323ec7a2e4b447ea03df7d3b2d25d6
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/mail/emacsbug.el (report-emacs-bug): Insert empty X-Debbugs-Cc
 lisp/mail/emacsbug.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 409ef7165fe..b927fcaed00 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -233,9 +233,11 @@ Already submitted bugs can be found in the Emacs bug 
           (set-frame-parameter nil 'unsplittable nil))
       (error nil))
     (compose-mail report-emacs-bug-address topic)
+    (rfc822-goto-eoh)
+    (insert "X-Debbugs-Cc: \n")
     ;; The rest of this does not execute if the user was asked to
     ;; confirm and said no.
-    (when (eq major-mode 'message-mode)
+    (when (derived-mode-p 'message-mode)
       ;; Message-mode sorts the headers before sending.  We sort now so
       ;; that report-emacs-bug-orig-text remains valid.  (Bug#5178)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]