Modify only local send hook in submit-emacs-patch

* lisp/mail/emacsbug.el (submit-emacs-patch): Don't modify global
message-send-hook.
This commit is contained in:
Basil L. Contovounesios 2020-10-29 23:33:29 +00:00
parent 96e371b44a
commit d7a2d7250d

View file

@ -520,7 +520,7 @@ Message buffer where you can explain more about the patch."
(lambda ()
(message-goto-body)
(insert "Tags: patch\nthanks\n\n"))
t)
nil t)
(message-add-action
(lambda ()
;; Bury the help buffer (if it's shown).