aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-01-04 22:02:59 +0000
committerRichard M. Stallman1995-01-04 22:02:59 +0000
commit04eae6671249352c0da70ba7c8eaf5d0e3f67428 (patch)
tree18fb22b803f0bf5c10b1c5c0ab81c73fc474b025
parent6a044d8689765097ad3ef5b971a294bd416c2e7c (diff)
downloademacs-04eae6671249352c0da70ba7c8eaf5d0e3f67428.tar.gz
emacs-04eae6671249352c0da70ba7c8eaf5d0e3f67428.zip
(auto-mode-alist): Add entries for .cls files, and for /drafts/.
-rw-r--r--lisp/files.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el
index acd7cb137bc..21c2bf6c2fe 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -851,7 +851,7 @@ run `normal-mode' explicitly."
851 ("\\.[12345678]\\'" . nroff-mode) 851 ("\\.[12345678]\\'" . nroff-mode)
852 ("\\.TeX\\'" . tex-mode) 852 ("\\.TeX\\'" . tex-mode)
853 ("\\.sty\\'" . latex-mode) 853 ("\\.sty\\'" . latex-mode)
854! ("\\.cls\\'" . latex-mode) ;LaTeX 2e class 854 ("\\.cls\\'" . latex-mode) ;LaTeX 2e class
855 ("\\.bbl\\'" . latex-mode) 855 ("\\.bbl\\'" . latex-mode)
856 ("\\.bib\\'" . bibtex-mode) 856 ("\\.bib\\'" . bibtex-mode)
857 ("\\.article\\'" . text-mode) 857 ("\\.article\\'" . text-mode)
@@ -865,7 +865,7 @@ run `normal-mode' explicitly."
865 ;; /tmp/Re.... or Message 865 ;; /tmp/Re.... or Message
866 ("^/tmp/Re" . text-mode) 866 ("^/tmp/Re" . text-mode)
867 ("/Message[0-9]*\\'" . text-mode) 867 ("/Message[0-9]*\\'" . text-mode)
868+ ("/drafts/[0-9]+\\'" . mh-letter-mode) 868 ("/drafts/[0-9]+\\'" . mh-letter-mode)
869 ;; some news reader is reported to use this 869 ;; some news reader is reported to use this
870 ("^/tmp/fol/" . text-mode) 870 ("^/tmp/fol/" . text-mode)
871 ("\\.y\\'" . c-mode) 871 ("\\.y\\'" . c-mode)