emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 4e8888d: Use doc-view or pdf-tools on any window-


From: Mark Oteiza
Subject: [Emacs-diffs] emacs-26 4e8888d: Use doc-view or pdf-tools on any window-system
Date: Sun, 17 Sep 2017 19:39:39 -0400 (EDT)

branch: emacs-26
commit 4e8888d4383bf6fd87af6d45b6855494edf87a2d
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>

    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 031d8e1..8658746 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]