summaryrefslogtreecommitdiff
path: root/lisp/gnus/mm-view.el
diff options
context:
space:
mode:
authorGnus developers <ding@gnus.org.noreply>2013-07-06 23:40:56 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2013-07-06 23:40:56 +0000
commit6ed7a66a3f8781f66fce33f326ac2c5057de4c97 (patch)
tree5bc174b7cb38e7d22443f25e8ada77466b10775a /lisp/gnus/mm-view.el
parent219afb88d9d484393418820d1c08dc93299110ec (diff)
downloademacs-6ed7a66a3f8781f66fce33f326ac2c5057de4c97.tar.gz
emacs-6ed7a66a3f8781f66fce33f326ac2c5057de4c97.tar.bz2
emacs-6ed7a66a3f8781f66fce33f326ac2c5057de4c97.zip
Merge changes made in Gnus master
2013-07-06 Lars Ingebrigtsen <larsi@gnus.org> * gnus.texi (Group Parameters): Mention regexp substitutions (bug#11688). 2013-07-06 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change) * gnus.texi (Generic Marking Commands): Fix grammar (bug#13368). 2013-07-06 Lars Ingebrigtsen <larsi@gnus.org> * gnus.texi (Emacsen): Fix version. * gnus-faq.texi (FAQ 1-6): Mention the correct Emacs version. 2013-07-06 Lars Ingebrigtsen <larsi@gnus.org> * gnus-art.el (gnus-block-private-groups): Allow `global' methods to display images. * gnus.el (gnus-valid-select-methods): Mark nnrss as global. * message.el (message-cancel-news): According to <mailman.216.1372942181.12400.help-gnu-emacs@gnu.org>, "cancel" is preferred over "cmsg cancel" in the Subject. * nnir.el (nnir-engines): Note that the group specs are regexps (bug#13238). * gnus-msg.el (gnus-copy-article-buffer): If the article buffer has gotten read-only text properties, ensure that those aren't heeded when copying stuff over (bug#13434). * mm-view.el (mm-inline-text-html): Don't bug out on multipart messages (bug#13762).
Diffstat (limited to 'lisp/gnus/mm-view.el')
-rw-r--r--lisp/gnus/mm-view.el22
1 files changed, 12 insertions, 10 deletions
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index b1cba27c335..9512a411d81 100644
--- a/lisp/gnus/mm-view.el
+++ b/lisp/gnus/mm-view.el
@@ -419,16 +419,18 @@
(buffer-string)))))
(defun mm-inline-text-html (handle)
- (let* ((func mm-text-html-renderer)
- (entry (assq func mm-text-html-renderer-alist))
- (inhibit-read-only t))
- (if entry
- (setq func (cdr entry)))
- (cond
- ((functionp func)
- (funcall func handle))
- (t
- (apply (car func) handle (cdr func))))))
+ (if (stringp (car handle))
+ (mapcar 'mm-inline-text-html (cdr handle))
+ (let* ((func mm-text-html-renderer)
+ (entry (assq func mm-text-html-renderer-alist))
+ (inhibit-read-only t))
+ (if entry
+ (setq func (cdr entry)))
+ (cond
+ ((functionp func)
+ (funcall func handle))
+ (t
+ (apply (car func) handle (cdr func)))))))
(defun mm-inline-text-vcard (handle)
(let ((inhibit-read-only t))