aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-07-17 22:48:06 +0000
committerKarl Heuer1995-07-17 22:48:06 +0000
commitc1fe251aceb9ca50b130ce1525e66e225aba337e (patch)
treea8f7aae383ad1e5c58c7a5302a0cca0e89ce134a
parente26815c37e16b15af699bd186c1271081c46346c (diff)
downloademacs-c1fe251aceb9ca50b130ce1525e66e225aba337e.tar.gz
emacs-c1fe251aceb9ca50b130ce1525e66e225aba337e.zip
(auto-mode-alist): Move .scm.[0-9] before nroff-mode.
Escape the second period.
-rw-r--r--lisp/files.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 80f0b3fea8a..1c3c93878cc 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -866,8 +866,10 @@ run `normal-mode' explicitly."
866 ("changelo\\'" . change-log-mode) 866 ("changelo\\'" . change-log-mode)
867 ("ChangeLog.[0-9]+\\'" . change-log-mode) 867 ("ChangeLog.[0-9]+\\'" . change-log-mode)
868 ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode) 868 ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode)
869;; The following should come after the ChangeLog pattern 869 ("\\.scm\\.[0-9]*\\'" . scheme-mode)
870;; for the sake of ChangeLog.1, etc. 870;;; The following should come after the ChangeLog pattern
871;;; for the sake of ChangeLog.1, etc.
872;;; and after the .scm.[0-9] pattern too.
871 ("\\.[12345678]\\'" . nroff-mode) 873 ("\\.[12345678]\\'" . nroff-mode)
872 ("\\.TeX\\'" . tex-mode) 874 ("\\.TeX\\'" . tex-mode)
873 ("\\.sty\\'" . latex-mode) 875 ("\\.sty\\'" . latex-mode)
@@ -892,7 +894,6 @@ run `normal-mode' explicitly."
892 ("\\.y\\'" . c-mode) 894 ("\\.y\\'" . c-mode)
893 ("\\.lex\\'" . c-mode) 895 ("\\.lex\\'" . c-mode)
894 ("\\.oak\\'" . scheme-mode) 896 ("\\.oak\\'" . scheme-mode)
895 ("\\.scm.[0-9]*\\'" . scheme-mode)
896 ("\\.sgm\\'" . sgml-mode) 897 ("\\.sgm\\'" . sgml-mode)
897 ("\\.sgml\\'" . sgml-mode) 898 ("\\.sgml\\'" . sgml-mode)
898 ("\\.dtd\\'" . sgml-mode) 899 ("\\.dtd\\'" . sgml-mode)