Commit 9cdff613 authored by Miles Bader's avatar Miles Bader
Browse files

Merge from gnus--devo--0

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1561
parent 86c507f7
2009-03-02 Katsumi Yamaoka <yamaoka@jpl.org>
* mml.el (mml-insert-mime): Don't break parts that mm-uu dissected.
2009-02-25 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-dired.el: Remove autoload for gnus-setup-message.
......
......@@ -898,10 +898,17 @@ If HANDLES is non-nil, use it instead reparsing the buffer."
(unless (setq textp (equal (mm-handle-media-supertype handle) "text"))
(save-excursion
(set-buffer (setq buffer (mml-generate-new-buffer " *mml*")))
(mm-insert-part handle 'no-cache)
(if (setq mmlp (equal (mm-handle-media-type handle)
"message/rfc822"))
(mime-to-mml)))))
(if (eq (mail-content-type-get (mm-handle-type handle) 'charset)
'gnus-decoded)
;; A part that mm-uu dissected from a non-MIME message
;; because of `gnus-article-emulate-mime'.
(progn
(mm-enable-multibyte)
(insert-buffer-substring (mm-handle-buffer handle)))
(mm-insert-part handle 'no-cache)
(if (setq mmlp (equal (mm-handle-media-type handle)
"message/rfc822"))
(mime-to-mml))))))
(if mmlp
(mml-insert-mml-markup handle nil t t)
(unless (and no-markup
......
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