aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2009-03-03 02:32:23 +0000
committerMiles Bader2009-03-03 02:32:23 +0000
commit9cdff61311b9407d724c5923c1e2d15ac2c781fc (patch)
tree836ea5fc455660267530b59fd3d038e9e5271660
parent86c507f71d7bf49796f8b83715d1a0a854c91038 (diff)
downloademacs-9cdff61311b9407d724c5923c1e2d15ac2c781fc.tar.gz
emacs-9cdff61311b9407d724c5923c1e2d15ac2c781fc.zip
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1561
-rw-r--r--lisp/gnus/ChangeLog4
-rw-r--r--lisp/gnus/mml.el15
2 files changed, 15 insertions, 4 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index a99b2fd5524..b21bad407fe 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,7 @@
12009-03-02 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * mml.el (mml-insert-mime): Don't break parts that mm-uu dissected.
4
12009-02-25 Katsumi Yamaoka <yamaoka@jpl.org> 52009-02-25 Katsumi Yamaoka <yamaoka@jpl.org>
2 6
3 * gnus-dired.el: Remove autoload for gnus-setup-message. 7 * gnus-dired.el: Remove autoload for gnus-setup-message.
diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el
index e682b1b069b..6028ce8b205 100644
--- a/lisp/gnus/mml.el
+++ b/lisp/gnus/mml.el
@@ -898,10 +898,17 @@ If HANDLES is non-nil, use it instead reparsing the buffer."
898 (unless (setq textp (equal (mm-handle-media-supertype handle) "text")) 898 (unless (setq textp (equal (mm-handle-media-supertype handle) "text"))
899 (save-excursion 899 (save-excursion
900 (set-buffer (setq buffer (mml-generate-new-buffer " *mml*"))) 900 (set-buffer (setq buffer (mml-generate-new-buffer " *mml*")))
901 (mm-insert-part handle 'no-cache) 901 (if (eq (mail-content-type-get (mm-handle-type handle) 'charset)
902 (if (setq mmlp (equal (mm-handle-media-type handle) 902 'gnus-decoded)
903 "message/rfc822")) 903 ;; A part that mm-uu dissected from a non-MIME message
904 (mime-to-mml))))) 904 ;; because of `gnus-article-emulate-mime'.
905 (progn
906 (mm-enable-multibyte)
907 (insert-buffer-substring (mm-handle-buffer handle)))
908 (mm-insert-part handle 'no-cache)
909 (if (setq mmlp (equal (mm-handle-media-type handle)
910 "message/rfc822"))
911 (mime-to-mml))))))
905 (if mmlp 912 (if mmlp
906 (mml-insert-mml-markup handle nil t t) 913 (mml-insert-mml-markup handle nil t t)
907 (unless (and no-markup 914 (unless (and no-markup