aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Oteiza2017-09-17 19:37:08 -0400
committerMark Oteiza2017-09-17 19:39:35 -0400
commit4e8888d4383bf6fd87af6d45b6855494edf87a2d (patch)
treec62716e50dbaf308e40c5783cb1d1177a3791fb0
parent5f28f0db73c03b98b27e04a458ebb209b5d9acde (diff)
downloademacs-4e8888d4383bf6fd87af6d45b6855494edf87a2d.tar.gz
emacs-4e8888d4383bf6fd87af6d45b6855494edf87a2d.zip
Use doc-view or pdf-tools on any window-system
* lisp/net/mailcap.el (mailcap-mime-data): Simply check for window-system.
-rw-r--r--lisp/net/mailcap.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/mailcap.el b/lisp/net/mailcap.el
index 031d8e1ff05..86587466ef5 100644
--- a/lisp/net/mailcap.el
+++ b/lisp/net/mailcap.el
@@ -167,11 +167,11 @@ is consulted."
167 ("pdf" 167 ("pdf"
168 (viewer . pdf-view-mode) 168 (viewer . pdf-view-mode)
169 (type . "application/pdf") 169 (type . "application/pdf")
170 (test . (eq window-system 'x))) 170 (test . window-system))
171 ("pdf" 171 ("pdf"
172 (viewer . doc-view-mode) 172 (viewer . doc-view-mode)
173 (type . "application/pdf") 173 (type . "application/pdf")
174 (test . (eq window-system 'x))) 174 (test . window-system))
175 ("pdf" 175 ("pdf"
176 (viewer . "gv -safer %s") 176 (viewer . "gv -safer %s")
177 (type . "application/pdf") 177 (type . "application/pdf")