]> git.eshelyaron.com Git - emacs.git/commitdiff
; Partially revert c3445aed5194
authorMark Oteiza <mvoteiza@udel.edu>
Sun, 17 Sep 2017 12:27:57 +0000 (08:27 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Sun, 17 Sep 2017 12:27:57 +0000 (08:27 -0400)
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

index ed35c220ec57a599d8b84151385627202609180b..031d8e1ff0569b3448a3482423313a1b729e94ff 100644 (file)
@@ -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")