diff lisp/files.el @ 85387:ba27478c6149

(auto-mode-alist): Add \\. before PDF/PS/DVI extensions. Regroup.
author Juri Linkov <juri@jurta.org>
date Thu, 18 Oct 2007 00:16:33 +0000
parents 5b96a46cc08a
children 4fb8cbaeb725
line wrap: on
line diff
--- a/lisp/files.el	Thu Oct 18 00:14:53 2007 +0000
+++ b/lisp/files.el	Thu Oct 18 00:16:33 2007 +0000
@@ -2059,7 +2059,7 @@
      ("\\.\\(as\\|mi\\|sm\\)2\\'" . snmpv2-mode)
      ("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode)
      ("\\.\\(dif\\|pat\\)\\'" . diff-mode) ; for MSDOG
-     ("\\(?:DVI\\|EPS\\|P\\(?:DF\\|S\\)\\|dvi\\|eps\\|p\\(?:df\\|s\\)\\)" . doc-view-mode)
+     ("\\.\\(?:PDF\\|E?PS\\|DVI\\|pdf\\|e?ps\\|dvi\\)" . doc-view-mode)
      ("configure\\.\\(ac\\|in\\)\\'" . autoconf-mode)
      ("BROWSE\\'" . ebrowse-tree-mode)
      ("\\.ebrowse\\'" . ebrowse-tree-mode)