(auto-mode-alist): Move .scm.[0-9] before nroff-mode.
authorKarl Heuer <kwzh@gnu.org>
Mon, 17 Jul 1995 22:48:06 +0000 (22:48 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 17 Jul 1995 22:48:06 +0000 (22:48 +0000)
Escape the second period.

lisp/files.el

index 80f0b3f..1c3c938 100644 (file)
@@ -866,8 +866,10 @@ run `normal-mode' explicitly."
                                  ("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 @@ run `normal-mode' explicitly."
                                  ("\\.y\\'" . c-mode)
                                  ("\\.lex\\'" . c-mode)
                                  ("\\.oak\\'" . scheme-mode)
-                                 ("\\.scm.[0-9]*\\'" . scheme-mode)
                                  ("\\.sgm\\'" . sgml-mode)
                                  ("\\.sgml\\'" . sgml-mode)
                                  ("\\.dtd\\'" . sgml-mode)