diff options
| author | Katsumi Yamaoka | 2017-01-13 07:22:30 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2017-01-13 07:22:30 +0000 |
| commit | dd80ee695cac629792f5b230496a9f9ea2f600a5 (patch) | |
| tree | 756c985ff346eec3df4a81a721cc8352562c903e | |
| parent | d4a97088f69eb5729261ee4581cfb7d60c673ebd (diff) | |
| download | emacs-dd80ee695cac629792f5b230496a9f9ea2f600a5.tar.gz emacs-dd80ee695cac629792f5b230496a9f9ea2f600a5.zip | |
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.
| -rw-r--r-- | lisp/gnus/mm-uu.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/gnus/mm-uu.el b/lisp/gnus/mm-uu.el index 18322ecb4d1..3455cc423d9 100644 --- a/lisp/gnus/mm-uu.el +++ b/lisp/gnus/mm-uu.el | |||
| @@ -711,6 +711,8 @@ Assume text has been decoded if DECODED is non-nil." | |||
| 711 | ;; Mutt still uses application/pgp even though | 711 | ;; Mutt still uses application/pgp even though |
| 712 | ;; it has already been withdrawn. | 712 | ;; it has already been withdrawn. |
| 713 | (string-match "\\`text/\\|\\`application/pgp\\'" type) | 713 | (string-match "\\`text/\\|\\`application/pgp\\'" type) |
| 714 | (not | ||
| 715 | (string-match "\\`text/x-\\(?:diff\\|patch\\)\\'" type)) | ||
| 714 | (equal (car (mm-handle-disposition handle)) | 716 | (equal (car (mm-handle-disposition handle)) |
| 715 | "inline") | 717 | "inline") |
| 716 | (setq | 718 | (setq |