Mercurial > emacs
changeset 62277:bac64e3149d8
(auto-mode-alist, interpreter-mode-alist): Set up the new variants of makefile-mode.
author | Daniel Pfeiffer <occitan@esperanto.org> |
---|---|
date | Fri, 13 May 2005 07:56:28 +0000 |
parents | c1e4bf9803aa |
children | 241bb14c31de |
files | lisp/files.el |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Fri May 13 07:51:15 2005 +0000 +++ b/lisp/files.el Fri May 13 07:56:28 2005 +0000 @@ -1762,9 +1762,11 @@ ("\\.ad[abs]\\'" . ada-mode) ("\\.ad[bs].dg\\'" . ada-mode) ("\\.\\([pP]\\([Llm]\\|erl\\|od\\)\\|al\\)\\'" . perl-mode) - ("\\.mk\\'" . makefile-mode) - ("\\([Mm]\\|GNUm\\)akep*file\\'" . makefile-mode) - ("\\.am\\'" . makefile-mode) ;For Automake. + ("\\.mk\\'" . makefile-gmake-mode) ; Might be any make, give Gnu the host advantage + ("[Mm]akefile\\'" . makefile-mode) + ("GNUmakefile\\'" . makefile-gmake-mode) + ("Makeppfile\\'" . makefile-makepp-mode) + ("\\.am\\'" . makefile-automake-mode) ;; Less common extensions come here ;; so more common ones above are found faster. ("\\.texinfo\\'" . texinfo-mode) @@ -1936,7 +1938,7 @@ ("more" . text-mode) ("less" . text-mode) ("pg" . text-mode) - ("make" . makefile-mode) ; Debian uses this + ("make" . makefile-gmake-mode) ; Debian uses this ("guile" . scheme-mode) ("clisp" . lisp-mode))) "Alist mapping interpreter names to major modes.