From: Mark Oteiza Date: Sun, 17 Sep 2017 23:37:08 +0000 (-0400) Subject: Use doc-view or pdf-tools on any window-system X-Git-Tag: emacs-26.0.90~144 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e8888d438;p=emacs.git Use doc-view or pdf-tools on any window-system * lisp/net/mailcap.el (mailcap-mime-data): Simply check for window-system. --- 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")