diff options
| author | Mark Oteiza <mvoteiza@udel.edu> | 2017-09-17 19:37:08 -0400 |
|---|---|---|
| committer | Mark Oteiza <mvoteiza@udel.edu> | 2017-09-17 19:39:35 -0400 |
| commit | 4e8888d4383bf6fd87af6d45b6855494edf87a2d (patch) | |
| tree | c62716e50dbaf308e40c5783cb1d1177a3791fb0 | |
| parent | 5f28f0db73c03b98b27e04a458ebb209b5d9acde (diff) | |
| download | emacs-4e8888d4383bf6fd87af6d45b6855494edf87a2d.tar.gz | |
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.el | 4 |
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." ("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") |
