1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Work for application/x-tar-gz and image/svg+xml

;; Try inlining the attachment in the article <87wp94dzj6.fsf@gmail.com>
;; of bug#27078 in the Emacs bug list using Gnus.

* lisp/gnus/mm-archive.el (mm-archive-decoders):
Add a decoder for application/x-tar-gz.
(mm-dissect-archive): Error out if a decoder is not found.

* lisp/gnus/mm-decode.el (mm-get-image): Allow image/svg+xml.
This commit is contained in:
Katsumi Yamaoka 2017-05-26 08:07:58 +00:00
parent 4c4a1b3217
commit 4de0737c9b
2 changed files with 9 additions and 4 deletions

View file

@ -1555,6 +1555,8 @@ be determined."
"xbm")
((equal type "x-portable-bitmap")
"pbm")
((equal type "svg+xml")
"svg")
(t type)))
(or (mm-handle-cache handle)
(mm-with-unibyte-buffer