From 34a6774daa31872629c03505f75d737e0df9eacb Mon Sep 17 00:00:00 2001 From: Mark Oteiza Date: Sun, 17 Sep 2017 08:27:57 -0400 Subject: [PATCH] ; Partially revert c3445aed5194 The pdf-view-mode entry had been added recently and should not have been removed. * lisp/net/mailcap.el: Restore pdf-view-mode entry from the pdf-tools package. --- lisp/net/mailcap.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/net/mailcap.el b/lisp/net/mailcap.el index ed35c220ec5..031d8e1ff05 100644 --- a/lisp/net/mailcap.el +++ b/lisp/net/mailcap.el @@ -164,6 +164,10 @@ is consulted." (non-viewer . t) (type . "application/zip") ("copiousoutput")) + ("pdf" + (viewer . pdf-view-mode) + (type . "application/pdf") + (test . (eq window-system 'x))) ("pdf" (viewer . doc-view-mode) (type . "application/pdf") -- 2.39.5