From: Reiner Steib Date: Thu, 18 Oct 2007 19:59:52 +0000 (+0000) Subject: (auto-mode-alist): Don't use doc-view for PS and EPS. X-Git-Tag: emacs-pretest-23.0.90~10237 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9a9057825c16c518b41f3899fd4cd8202f50d4b4;p=emacs.git (auto-mode-alist): Don't use doc-view for PS and EPS. --- 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)