changeset 2399:808b03396f33

(auto-mode-alist): added pairs for .ms, .man, .mk, [Mm]akefile, .lex.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Sun, 28 Mar 1993 06:24:44 +0000
parents 0d9cbf4b25c8
children 2cfd22aa6017
files lisp/files.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Sun Mar 28 06:24:42 1993 +0000
+++ b/lisp/files.el	Sun Mar 28 06:24:44 1993 +0000
@@ -622,6 +622,8 @@
 				  ("\\.el\\'" . emacs-lisp-mode)
 				  ("\\.mm\\'" . nroff-mode)
 				  ("\\.me\\'" . nroff-mode)
+				  ("\\.ms\\'" . nroff-mode)
+				  ("\\.man\\'" . nroff-mode)
 				  ("\\.scm\\'" . scheme-mode)
 				  ("\\.l\\'" . lisp-mode)
 				  ("\\.lisp\\'" . lisp-mode)
@@ -631,6 +633,8 @@
 				  ("\\.pl\\'" . prolog-mode)
 				  ("\\.cc\\'" . c++-mode)
 				  ("\\.C\\'" . c++-mode)
+				  ("\\.mk" . . makefile-mode)
+				  ("[Mm]akefile" . makefile-mode)
 ;;; Less common extensions come here
 ;;; so more common ones above are found faster.
 				  ("\\.s\\'" . asm-mode)
@@ -651,6 +655,7 @@
 				  ("\\.lsp\\'" . lisp-mode)
 				  ("\\.awk\\'" . awk-mode)
 				  ("\\.prolog\\'" . prolog-mode)
+				  ("\\.tar\\'" . tar-mode)
 				  ;; Mailer puts message to be edited in
 				  ;; /tmp/Re.... or Message
 				  ("^/tmp/Re" . text-mode)
@@ -658,6 +663,7 @@
 				  ;; some news reader is reported to use this
 				  ("^/tmp/fol/" . text-mode)
 				  ("\\.y\\'" . c-mode)
+				  ("\\.lex\\'" . c-mode)
 				  ("\\.oak\\'" . scheme-mode)
 				  ("\\.scm.[0-9]*\\'" . scheme-mode)
 				  ;; .emacs following a directory delimiter