Skip to content

Commit 680ef7b

Browse files
StebalienPhilip Kaludercic
authored andcommitted
Fix 'submit-emacs-patch' MIME type
* lisp/mail/emacsbug.el (submit-emacs-patch): Use the correct MIME type for patches. Otherwise, `mm-inline-media-tests' won't recognize and fontify the patch. (Bug#79287)
1 parent ade6608 commit 680ef7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/mail/emacsbug.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ Message buffer where you can explain more about the patch."
587587
(message-goto-body)
588588
(insert "\n\n\n")
589589
(emacs-build-description)
590-
(mml-attach-file file "text/patch" nil "attachment")
590+
(mml-attach-file file "text/x-patch" nil "attachment")
591591
(message-goto-body)
592592
(message "Write a description of the patch and use %s to send it"
593593
(substitute-command-keys "\\[message-send-and-exit]"))

0 commit comments

Comments
 (0)