From 4e8888d4383bf6fd87af6d45b6855494edf87a2d Mon Sep 17 00:00:00 2001 From: Mark Oteiza Date: Sun, 17 Sep 2017 19:37:08 -0400 Subject: [PATCH] Use doc-view or pdf-tools on any window-system * lisp/net/mailcap.el (mailcap-mime-data): Simply check for window-system. --- lisp/net/mailcap.el | 4 ++-- 1 file 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") -- 2.11.4.GIT