Commit 4e8888d4 authored by Mark Oteiza's avatar Mark Oteiza
Browse files

Use doc-view or pdf-tools on any window-system

* lisp/net/mailcap.el (mailcap-mime-data): Simply check for
window-system.
parent 5f28f0db
......@@ -167,11 +167,11 @@ is consulted."
("pdf"
(viewer . pdf-view-mode)
(type . "application/pdf")
(test . (eq window-system 'x)))
(test . window-system))
("pdf"
(viewer . doc-view-mode)
(type . "application/pdf")
(test . (eq window-system 'x)))
(test . window-system))
("pdf"
(viewer . "gv -safer %s")
(type . "application/pdf")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment