[gnus git] branch master updated: m0-13-85-g7c0c544 =1= * mailcap.el (mailcap-mime-data): Conditonalize `doc-view-mode', which does not exist on XEmacs.
Katsumi Yamaoka <[email protected]> Tue, 20 Oct 2015 13:18:21 +0200
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 7c0c5448e9b45864024f524e090312a438d600e9 (commit)
from 0814c236bf5b827fd046819bbd6ad591986c9caf (commit)
- Log -----------------------------------------------------------------
commit 7c0c5448e9b45864024f524e090312a438d600e9
Author: Michael Sperber <[email protected]>
Date: Tue Oct 20 11:18:07 2015 +0000
* mailcap.el (mailcap-mime-data): Conditonalize `doc-view-mode',
which does not exist on XEmacs.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1f1102d..c8c5b3e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-20 Michael Sperber <[email protected]>
+
+ * mailcap.el (mailcap-mime-data): Conditonalize `doc-view-mode', which
+ does not exist on XEmacs.
+
2015-10-18 Michael Sperber <[email protected]>
* nnml.el (nnml-retrieve-groups, nnml-request-scan):
diff --git a/lisp/mailcap.el b/lisp/mailcap.el
index 9f84413..a3348c6 100644
--- a/lisp/mailcap.el
+++ b/lisp/mailcap.el
@@ -160,7 +160,8 @@ This is a compatibility function for different Emacsen."
("pdf"
(viewer . doc-view-mode)
(type . "application/pdf")
- (test . (eq window-system 'x)))
+ (test . (and (fboundp 'doc-view-mode)
+ (eq window-system 'x))))
("pdf"
(viewer . "gv -safer %s")
(type . "application/pdf")
-----------------------------------------------------------------------
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 | 5 +++++
lisp/mailcap.el | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
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