(mailcap-mime-data): Add pdf. Remove non-free acroread.
authorSimon Josefsson <jas@extundo.com>
Thu, 30 Sep 2004 22:48:04 +0000 (22:48 +0000)
committerSimon Josefsson <jas@extundo.com>
Thu, 30 Sep 2004 22:48:04 +0000 (22:48 +0000)
lisp/ChangeLog
lisp/mailcap.el

index 440fc23..3b85224 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-01  Simon Josefsson  <jas@extundo.com>
+
+       * mailcap.el (mailcap-mime-data): Add pdf.  Remove non-free
+       acroread.
+
 2004-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * spam-report.el (spam-report-gmane): Fix interactive.
index cdc8205..7e457a4 100644 (file)
       (non-viewer . t)
       (type   . "application/zip")
       ("copiousoutput"))
-     ;; Prefer free viewers.
      ("pdf"
       (viewer . "gv -safer %s")
       (type . "application/pdf")
       (test . window-system)
       ("print" . ,(concat "pdf2ps %s - | " mailcap-print-command)))
      ("pdf"
-      (viewer . "xpdf %s")
+      (viewer . "gpdf %s")
       (type . "application/pdf")
       ("print" . ,(concat "pdftops %s - | " mailcap-print-command))
       (test . (eq window-system 'x)))
      ("pdf"
-      (viewer . "acroread %s")
-      (type   . "application/pdf")
-      ("print" . ,(concat "cat %s | acroread -toPostScript | "
-                         mailcap-print-command))
-      (test . window-system))
+      (viewer . "xpdf %s")
+      (type . "application/pdf")
+      ("print" . ,(concat "pdftops %s - | " mailcap-print-command))
+      (test . (eq window-system 'x)))
      ("pdf"
       (viewer . ,(concat "pdftotext %s -"))
       (type   . "application/pdf")