mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
lisp/gnus/mailcap.el: 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.
This commit is contained in:
parent
80e50144d8
commit
931e7babcb
2 changed files with 11 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2015-02-23 Tassilo Horn <tsdh@gnu.org>
|
||||
|
||||
* 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 <yamaoka@jpl.org>
|
||||
|
||||
* gnus-art.el (gnus-mime-display-single): Avoid "End of buffer" error.
|
||||
|
|
|
|||
|
|
@ -152,6 +152,11 @@ This is a compatibility function for different Emacsen."
|
|||
(non-viewer . t)
|
||||
(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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue