[gnus git] branch master updated: m0-7-160-g1a7870e =1= * mm-view.el (mm-inline-text-html): Don't bug out on multipart messages

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  1a7870e6bc6575cc0bcfc3419494f2fde579639a (commit)
      from  c863b13b88143621253f2ec6bd73032bfc58f8f6 (commit)


- Log -----------------------------------------------------------------
commit 1a7870e6bc6575cc0bcfc3419494f2fde579639a
Author: Lars Ingebrigtsen <[email protected]>
Date:   Sat Jul 6 18:26:06 2013 +0200

    * mm-view.el (mm-inline-text-html): Don't bug out on multipart messages

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 71db4a0..55c1671 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-06  Lars Ingebrigtsen  <[email protected]>
+
+	* mm-view.el (mm-inline-text-html): Don't bug out on multipart messages
+	(bug#13762).
+
 2013-07-05  David Kastrup  <[email protected]>
 
 	* auth-source.el (auth-source-netrc-parse-one): Allow empty strings in
diff --git a/lisp/mm-view.el b/lisp/mm-view.el
index b1cba27..9512a41 100644
--- a/lisp/mm-view.el
+++ b/lisp/mm-view.el
@@ -419,6 +419,8 @@
        (buffer-string)))))
 
 (defun mm-inline-text-html (handle)
+  (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))
@@ -428,7 +430,7 @@
      ((functionp func)
       (funcall func handle))
      (t
-      (apply (car func) handle (cdr func))))))
+	(apply (car func) handle (cdr func)))))))
 
 (defun mm-inline-text-vcard (handle)
   (let ((inhibit-read-only t))

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog  |    5 +++++
 lisp/mm-view.el |   22 ++++++++++++----------
 2 files changed, 17 insertions(+), 10 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.