From: Mark Oteiza Date: Sun, 17 Sep 2017 12:27:57 +0000 (-0400) Subject: ; Partially revert c3445aed5194 X-Git-Tag: emacs-26.0.90~150 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34a6774daa31872629c03505f75d737e0df9eacb;p=emacs.git ; 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. --- 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")