changeset 85422:4fb8cbaeb725

(auto-mode-alist): Don't use doc-view for PS and EPS.
author Reiner Steib <Reiner.Steib@gmx.de>
date Thu, 18 Oct 2007 19:59:52 +0000
parents fbc2287ee475
children d35fe28557ac
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Oct 18 19:46:39 2007 +0000
+++ b/lisp/ChangeLog	Thu Oct 18 19:59:52 2007 +0000
@@ -1,5 +1,7 @@
 2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>
 
+	* 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.
--- a/lisp/files.el	Thu Oct 18 19:46:39 2007 +0000
+++ b/lisp/files.el	Thu Oct 18 19:59:52 2007 +0000
@@ -2059,7 +2059,8 @@
      ("\\.\\(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)