From: Lars Ingebrigtsen Date: Sat, 26 Sep 2020 15:38:38 +0000 (+0200) Subject: Fix the patch tagging in submit-emacs-patch X-Git-Tag: emacs-28.0.90~5865 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e7012148c0d0e0b0aa87add75ed1e1c6f7eb4d32;p=emacs.git 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. --- 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).