Actually pass the type on to `gnus-treat-article'.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 31 Oct 2010 21:13:38 +0000 (22:13 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 31 Oct 2010 21:13:38 +0000 (22:13 +0100)
lisp/ChangeLog
lisp/gnus-art.el

index 9b40817..72f5fb6 100644 (file)
@@ -1,5 +1,8 @@
 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-art.el (gnus-mime-display-alternative): Actually pass the type
+       on to `gnus-treat-article'.
+
        * gnus.el: Autoload gnus-article-fill-cited-long-lines.
 
        * gnus-art.el (gnus-treatment-function-alist): Have
index 1fcdfa1..f71ca24 100644 (file)
@@ -5992,7 +5992,7 @@ If displaying \"text/html\" is discouraged \(see
                  (gnus-treat-article
                   nil (length gnus-article-mime-handle-alist)
                   (gnus-article-mime-total-parts)
-                  (mm-handle-media-type handle))))))
+                  (mm-handle-media-type preferred))))))
          (goto-char (point-max))
          (setcdr begend (point-marker)))))
     (when ibegend