From: Stefan Monnier Date: Thu, 7 Dec 2023 16:30:22 +0000 (-0500) Subject: * lisp/mail/emacsbug.el (report-emacs-bug): Insert empty X-Debbugs-Cc X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=040cba5d33323ec7a2e4b447ea03df7d3b2d25d6;p=emacs.git * lisp/mail/emacsbug.el (report-emacs-bug): Insert empty X-Debbugs-Cc --- 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 tracker: (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) (message-sort-headers)