mm-uu: only dissect handle that are inline
authorJulien Danjou <julien@danjou.info>
Wed, 16 Mar 2011 15:32:30 +0000 (16:32 +0100)
committerJulien Danjou <julien@danjou.info>
Wed, 16 Mar 2011 15:32:30 +0000 (16:32 +0100)
Signed-off-by: Julien Danjou <julien@danjou.info>
lisp/ChangeLog
lisp/mm-uu.el

index 8bdd2b1..56e0152 100644 (file)
@@ -1,5 +1,8 @@
 2011-03-16  Julien Danjou  <julien@danjou.info>
 
+       * mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are
+       inline.
+
        * gnus-art.el (article-hide-list-identifiers): Use
        gnus-group-get-list-identifiers.
 
index 96dce48..4f7b5ed 100644 (file)
@@ -705,6 +705,8 @@ Assume text has been decoded if DECODED is non-nil."
                    ;; Mutt still uses application/pgp even though
                    ;; it has already been withdrawn.
                    (string-match "\\`text/\\|\\`application/pgp\\'" type)
+                    (equal (car (mm-handle-disposition handle))
+                           "inline")
                    (setq
                     children
                     (with-current-buffer buffer