summaryrefslogtreecommitdiff
path: root/lisp/mail/emacsbug.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-09-26 17:38:38 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-09-26 17:38:38 +0200
commite7012148c0d0e0b0aa87add75ed1e1c6f7eb4d32 (patch)
tree158a1f38e098f089c52e756b5da9067507cf62fa /lisp/mail/emacsbug.el
parent20da487d8b240074f22c145762f0ac9edce20a08 (diff)
downloademacs-e7012148c0d0e0b0aa87add75ed1e1c6f7eb4d32.tar.gz
emacs-e7012148c0d0e0b0aa87add75ed1e1c6f7eb4d32.tar.bz2
emacs-e7012148c0d0e0b0aa87add75ed1e1c6f7eb4d32.zip
Fix the patch tagging in submit-emacs-patch
* lisp/mail/emacsbug.el (submit-emacs-patch): Put the tags in the debbugs pseudo-headers because X-Debbugs-Tags is not a thing that exists.
Diffstat (limited to 'lisp/mail/emacsbug.el')
-rw-r--r--lisp/mail/emacsbug.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 36d1dc7cac8..e48c25436ee 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -514,9 +514,13 @@ Message buffer where you can explain more about the patch."
(insert "\n\n\n")
(emacs-bug--system-description)
(mml-attach-file file "text/patch" nil "attachment")
- (message-add-header "X-Debbugs-Tags: patch")
(message-goto-body)
(message "Write a description of the patch and use `C-c C-c' to send it")
+ (add-hook 'message-send-hook
+ (lambda ()
+ (message-goto-body)
+ (insert "Tags: patch\nthanks\n\n"))
+ t)
(message-add-action
(lambda ()
;; Bury the help buffer (if it's shown).