changeset 12554:fdc58e7e37c2

(auto-mode-alist): Move .scm.[0-9] before nroff-mode. Escape the second period.
author Karl Heuer <kwzh@gnu.org>
date Mon, 17 Jul 1995 22:48:06 +0000
parents ce881909d36a
children a2a2aa391773
files lisp/files.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Mon Jul 17 22:47:19 1995 +0000
+++ b/lisp/files.el	Mon Jul 17 22:48:06 1995 +0000
@@ -866,8 +866,10 @@
 				  ("changelo\\'" . change-log-mode)
 				  ("ChangeLog.[0-9]+\\'" . change-log-mode)
 				  ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode)
-;; The following should come after the ChangeLog pattern
-;; for the sake of ChangeLog.1, etc.
+				  ("\\.scm\\.[0-9]*\\'" . scheme-mode)
+;;; The following should come after the ChangeLog pattern
+;;; for the sake of ChangeLog.1, etc.
+;;; and after the .scm.[0-9] pattern too.
 				  ("\\.[12345678]\\'" . nroff-mode)
 				  ("\\.TeX\\'" . tex-mode)
 				  ("\\.sty\\'" . latex-mode)
@@ -892,7 +894,6 @@
 				  ("\\.y\\'" . c-mode)
 				  ("\\.lex\\'" . c-mode)
 				  ("\\.oak\\'" . scheme-mode)
-				  ("\\.scm.[0-9]*\\'" . scheme-mode)
 				  ("\\.sgm\\'" . sgml-mode)
 				  ("\\.sgml\\'" . sgml-mode)
 				  ("\\.dtd\\'" . sgml-mode)