Fix submit-emacs-patch
submit-emacs-patch creates a new message and immediately inserts new lines without first moving the point to the message body. This doesn't work with notmuch (and its notmuch-user-agent symbol) because the point starts in the headers and nothing in Emacs specifies that the mua should move point to the body automatically. * lisp/mail/emacsbug.el (submit-emacs-patch): Make sure point is in the body before inserting new lines (bug#55571).
This commit is contained in:
parent
35d0190b0b
commit
959d041677
1 changed files with 1 additions and 0 deletions
|
@ -516,6 +516,7 @@ Message buffer where you can explain more about the patch."
|
|||
(view-mode 1)
|
||||
(button-mode 1))
|
||||
(message-mail-other-window report-emacs-bug-address subject)
|
||||
(message-goto-body)
|
||||
(insert "\n\n\n")
|
||||
(emacs-bug--system-description)
|
||||
(mml-attach-file file "text/patch" nil "attachment")
|
||||
|
|
Loading…
Add table
Reference in a new issue