1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

* lisp/mail/emacsbug.el (report-emacs-bug): Insert empty X-Debbugs-Cc

This commit is contained in:
Stefan Monnier 2023-12-07 11:30:22 -05:00
parent 408818480b
commit 040cba5d33

View file

@ -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)