[gnus git] branch master updated: =1= gnus-art: use mm-display-inline rather than mm-insert-inline

Julien Danjou <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  f07478fba82e8cf7e0ea1bdce36c641a48836cda (commit)
      from  6ca1c891ef72273c7ce70d1874465c3209327230 (commit)


- Log -----------------------------------------------------------------
commit f07478fba82e8cf7e0ea1bdce36c641a48836cda
Author: Julien Danjou <[email protected]>
Date:   Fri Jan 21 14:45:50 2011 +0100

    gnus-art: use mm-display-inline rather than mm-insert-inline
    
    Signed-off-by: Julien Danjou <[email protected]>

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 860c47a..5f51a99 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-21  Julien Danjou  <[email protected]>
+
+	* gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather
+	than mm-insert-inline.
+
 2011-01-21  Katsumi Yamaoka  <[email protected]>
 
 	* gnus-art.el (gnus-article-remove-images, gnus-article-show-images):
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index e6627b0..232c4b3 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -5897,18 +5897,7 @@ If displaying \"text/html\" is discouraged \(see
 	      (forward-line -1)
 	      (setq beg (point)))
 	    (gnus-article-insert-newline)
-	    (mm-insert-inline
-	     handle
-	     (let ((charset (or (mail-content-type-get (mm-handle-type handle)
-						       'charset)
-				(and (equal type "text/calendar") 'utf-8))))
-	       (cond ((not charset)
-		      (mm-string-as-multibyte (mm-get-part handle)))
-		     ((eq charset 'gnus-decoded)
-		      (with-current-buffer (mm-handle-buffer handle)
-			(buffer-string)))
-		     (t
-		      (mm-decode-string (mm-get-part handle) charset)))))
+	    (mm-display-inline handle)
 	    (goto-char (point-max))))
 	  ;; Do highlighting.
 	  (save-excursion

-----------------------------------------------------------------------
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/gnus-art.el |   13 +------------
 2 files changed, 6 insertions(+), 12 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.