Commit f205c6e7 authored by Julien Danjou's avatar Julien Danjou Committed by Katsumi Yamaoka
Browse files

gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather than mm-insert-inline.

parent 925e561d
......@@ -3,6 +3,11 @@
* gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes):
Don't confuse the "ret" of "retrograde" with RET.
 
2011-01-21 Julien Danjou <julien@danjou.info>
* gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather
than mm-insert-inline.
2011-01-21 Katsumi Yamaoka <yamaoka@jpl.org>
 
* gnus-art.el (gnus-article-remove-images, gnus-article-show-images):
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment