aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsumi Yamaoka2010-10-08 02:12:56 +0000
committerKatsumi Yamaoka2010-10-08 02:12:56 +0000
commitf7aa0b8f65e8481309f43a9f71a273c05596956e (patch)
tree29084519be15bb144978ee4be29e5fb9b26906c7
parent863b61d662deede3e01d1b0cba8c110064a7407b (diff)
downloademacs-f7aa0b8f65e8481309f43a9f71a273c05596956e.tar.gz
emacs-f7aa0b8f65e8481309f43a9f71a273c05596956e.zip
gnus-art.el (gnus-mime-view-part-externally, gnus-mime-view-part-internally): Make predicate function passed to gnus-mime-view-part-as-type assume argument is a mime type, not a list of a mime type.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-art.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 3a3c72572ac..9556827554b 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,10 @@
12010-10-08 Katsumi Yamaoka <yamaoka@jpl.org> 12010-10-08 Katsumi Yamaoka <yamaoka@jpl.org>
2 2
3 * gnus-art.el (gnus-mime-view-part-externally)
4 (gnus-mime-view-part-internally): Make predicate function passed to
5 gnus-mime-view-part-as-type assume argument is a mime type, not a list
6 of a mime type.
7
3 * shr.el (shr-table-widths): Don't use cl function `reduce'. 8 * shr.el (shr-table-widths): Don't use cl function `reduce'.
4 9
52010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org> 102010-10-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 426a248bc63..01cbda85fd3 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -5381,7 +5381,7 @@ specified charset."
5381 (mm-enable-external t)) 5381 (mm-enable-external t))
5382 (if (not (stringp method)) 5382 (if (not (stringp method))
5383 (gnus-mime-view-part-as-type 5383 (gnus-mime-view-part-as-type
5384 nil (lambda (types) (stringp (mailcap-mime-info (car types))))) 5384 nil (lambda (type) (stringp (mailcap-mime-info type))))
5385 (when handle 5385 (when handle
5386 (if (mm-handle-undisplayer handle) 5386 (if (mm-handle-undisplayer handle)
5387 (mm-remove-part handle) 5387 (mm-remove-part handle)
@@ -5402,7 +5402,7 @@ If no internal viewer is available, use an external viewer."
5402 (inhibit-read-only t)) 5402 (inhibit-read-only t))
5403 (if (not (mm-inlinable-p handle)) 5403 (if (not (mm-inlinable-p handle))
5404 (gnus-mime-view-part-as-type 5404 (gnus-mime-view-part-as-type
5405 nil (lambda (types) (mm-inlinable-p handle (car types)))) 5405 nil (lambda (type) (mm-inlinable-p handle type)))
5406 (when handle 5406 (when handle
5407 (if (mm-handle-undisplayer handle) 5407 (if (mm-handle-undisplayer handle)
5408 (mm-remove-part handle) 5408 (mm-remove-part handle)