[gnus git] branch master updated: m0-1-6-gd84b26f =1= * mm-decode.el (mm-dissect-singlepart): Check that the decoder exists.
Lars Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via d84b26f66f1975b52a15ca2caf5f10da5103e42e (commit)
from 7614d15141b55d710334ba47d9940081cd75b4b8 (commit)
- Log -----------------------------------------------------------------
commit d84b26f66f1975b52a15ca2caf5f10da5103e42e
Author: Lars Ingebrigtsen <[email protected]>
Date: Tue Jan 31 19:38:32 2012 +0100
* mm-decode.el (mm-dissect-singlepart): Check that the decoder exists.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f4201a7..eebac32 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2012-01-31 Lars Ingebrigtsen <[email protected]>
+ * mm-decode.el (mm-dissect-singlepart): Check that the decoder exists.
+
* mm-archive.el: New file.
* mm-decode.el (mm-dissect-singlepart): Use it to decode ms-tnef files.
diff --git a/lisp/mm-decode.el b/lisp/mm-decode.el
index a66a9c5..e6407cf 100644
--- a/lisp/mm-decode.el
+++ b/lisp/mm-decode.el
@@ -656,8 +656,10 @@ Postpone undisplaying of viewers for types in
t))
(let ((handle
(mm-make-handle
- (mm-copy-to-buffer) ctl cte nil cdl description nil id)))
- (if (member (car ctl) mm-archive-decoders)
+ (mm-copy-to-buffer) ctl cte nil cdl description nil id))
+ (decoder (assoc (car ctl) mm-archive-decoders)))
+ (if (and decoder
+ (executable-find (cadr decoder)))
(mm-dissect-archive handle)
handle))))
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 2 ++
lisp/mm-decode.el | 6 ++++--
2 files changed, 6 insertions(+), 2 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project