mm-uu.el: Don't dissect patch part

This fixes a bug that the patch part is broken in the article
<87inpjzhpb.fsf@users.sourceforge.net> in the bug-gnu-emacs list.

* lisp/gnus/mm-uu.el (mm-uu-dissect-text-parts):
Don't dissect patch part.
This commit is contained in:
Katsumi Yamaoka 2017-01-13 07:22:30 +00:00
parent d4a97088f6
commit dd80ee695c

View file

@ -711,6 +711,8 @@ Assume text has been decoded if DECODED is non-nil."
;; Mutt still uses application/pgp even though
;; it has already been withdrawn.
(string-match "\\`text/\\|\\`application/pgp\\'" type)
(not
(string-match "\\`text/x-\\(?:diff\\|patch\\)\\'" type))
(equal (car (mm-handle-disposition handle))
"inline")
(setq