From 9a9057825c16c518b41f3899fd4cd8202f50d4b4 Mon Sep 17 00:00:00 2001 From: Reiner Steib Date: Thu, 18 Oct 2007 19:59:52 +0000 Subject: [PATCH] (auto-mode-alist): Don't use doc-view for PS and EPS. --- lisp/ChangeLog | 2 ++ lisp/files.el | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fb0f80907bc..7c62aecfd55 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2007-10-18 Reiner Steib + * files.el (auto-mode-alist): Don't use doc-view for PS and EPS. + * doc-view.el: Remove version keyword. (doc-view-ghostscript-program, doc-view-dvipdfm-program) (doc-view-ps2pdf-program): Use executable-find. Simplify custom type. diff --git a/lisp/files.el b/lisp/files.el index d856d7f34a7..6d03ad24dbe 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2059,7 +2059,8 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" . archive-mode) ("\\.\\(as\\|mi\\|sm\\)2\\'" . snmpv2-mode) ("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode) ("\\.\\(dif\\|pat\\)\\'" . diff-mode) ; for MSDOG - ("\\.\\(?:PDF\\|E?PS\\|DVI\\|pdf\\|e?ps\\|dvi\\)" . doc-view-mode) + ("\\.[eE]?[pP][sS]\\'" . ps-mode) + ("\\.\\(?:PDF\\|DVI\\|pdf\\|dvi\\)" . doc-view-mode) ("configure\\.\\(ac\\|in\\)\\'" . autoconf-mode) ("BROWSE\\'" . ebrowse-tree-mode) ("\\.ebrowse\\'" . ebrowse-tree-mode) -- 2.39.2