[gnus git] branch master updated: m0-11-172-gd2464e8 =1= Support PDF Tools for PDF viewing of attachments

Tassilo <[email protected]> Mon, 23 Feb 2015 10:19:26 +0100
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  d2464e8d95ef0805ecbd7baded7467efd5d981a1 (commit)
      from  6b2fa8fc38e3c09d57a636188553183aec8a0948 (commit)


- Log -----------------------------------------------------------------
commit d2464e8d95ef0805ecbd7baded7467efd5d981a1
Author: Tassilo Horn <[email protected]>
Date:   Mon Feb 23 10:19:00 2015 +0100

    Support PDF Tools for PDF viewing of attachments
    
    * mailcap.el (mailcap-mime-data): Support `pdf-view-mode' (from PDF
    Tools: https://github.com/politza/pdf-tools) for viewing PDF
    attachments in emacs.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b6a24f1..1a0a736 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-23  Tassilo Horn  <[email protected]>
+
+	* mailcap.el (mailcap-mime-data): Support `pdf-view-mode' (from PDF
+	Tools: https://github.com/politza/pdf-tools) for viewing PDF
+	attachments in emacs.
+
 2015-02-23  Katsumi Yamaoka  <[email protected]>
 
 	* gnus-art.el (gnus-mime-display-single): Avoid "End of buffer" error.
diff --git a/lisp/mailcap.el b/lisp/mailcap.el
index 01d8587..9f84413 100644
--- a/lisp/mailcap.el
+++ b/lisp/mailcap.el
@@ -153,6 +153,11 @@ This is a compatibility function for different Emacsen."
       (type   . "application/zip")
       ("copiousoutput"))
      ("pdf"
+      (viewer . pdf-view-mode)
+      (type . "application/pdf")
+      (test . (and (fboundp 'pdf-view-mode)
+		   (eq window-system 'x))))
+     ("pdf"
       (viewer . doc-view-mode)
       (type . "application/pdf")
       (test . (eq window-system 'x)))

-----------------------------------------------------------------------
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  |    6 ++++++
 lisp/mailcap.el |    5 +++++
 2 files changed, 11 insertions(+)

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