Commit c80d2575 authored by Eric S. Raymond's avatar Eric S. Raymond

(auto-mode-alist): added pairs for .ms, .man, .mk, [Mm]akefile, .lex.

parent a04adb2a
...@@ -622,6 +622,8 @@ run `normal-mode' explicitly." ...@@ -622,6 +622,8 @@ run `normal-mode' explicitly."
("\\.el\\'" . emacs-lisp-mode) ("\\.el\\'" . emacs-lisp-mode)
("\\.mm\\'" . nroff-mode) ("\\.mm\\'" . nroff-mode)
("\\.me\\'" . nroff-mode) ("\\.me\\'" . nroff-mode)
("\\.ms\\'" . nroff-mode)
("\\.man\\'" . nroff-mode)
("\\.scm\\'" . scheme-mode) ("\\.scm\\'" . scheme-mode)
("\\.l\\'" . lisp-mode) ("\\.l\\'" . lisp-mode)
("\\.lisp\\'" . lisp-mode) ("\\.lisp\\'" . lisp-mode)
...@@ -631,6 +633,8 @@ run `normal-mode' explicitly." ...@@ -631,6 +633,8 @@ run `normal-mode' explicitly."
("\\.pl\\'" . prolog-mode) ("\\.pl\\'" . prolog-mode)
("\\.cc\\'" . c++-mode) ("\\.cc\\'" . c++-mode)
("\\.C\\'" . c++-mode) ("\\.C\\'" . c++-mode)
("\\.mk" . . makefile-mode)
("[Mm]akefile" . makefile-mode)
;;; Less common extensions come here ;;; Less common extensions come here
;;; so more common ones above are found faster. ;;; so more common ones above are found faster.
("\\.s\\'" . asm-mode) ("\\.s\\'" . asm-mode)
...@@ -651,6 +655,7 @@ run `normal-mode' explicitly." ...@@ -651,6 +655,7 @@ run `normal-mode' explicitly."
("\\.lsp\\'" . lisp-mode) ("\\.lsp\\'" . lisp-mode)
("\\.awk\\'" . awk-mode) ("\\.awk\\'" . awk-mode)
("\\.prolog\\'" . prolog-mode) ("\\.prolog\\'" . prolog-mode)
("\\.tar\\'" . tar-mode)
;; Mailer puts message to be edited in ;; Mailer puts message to be edited in
;; /tmp/Re.... or Message ;; /tmp/Re.... or Message
("^/tmp/Re" . text-mode) ("^/tmp/Re" . text-mode)
...@@ -658,6 +663,7 @@ run `normal-mode' explicitly." ...@@ -658,6 +663,7 @@ run `normal-mode' explicitly."
;; some news reader is reported to use this ;; some news reader is reported to use this
("^/tmp/fol/" . text-mode) ("^/tmp/fol/" . text-mode)
("\\.y\\'" . c-mode) ("\\.y\\'" . c-mode)
("\\.lex\\'" . c-mode)
("\\.oak\\'" . scheme-mode) ("\\.oak\\'" . scheme-mode)
("\\.scm.[0-9]*\\'" . scheme-mode) ("\\.scm.[0-9]*\\'" . scheme-mode)
;; .emacs following a directory delimiter ;; .emacs following a directory delimiter
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment