comparison lisp/files.el @ 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 50bb635a0522
children bb3ca636cd4d 6fef25c75847
comparison
equal deleted inserted replaced
62276:c1e4bf9803aa 62277:bac64e3149d8
1760 ("\\.p\\'" . pascal-mode) 1760 ("\\.p\\'" . pascal-mode)
1761 ("\\.pas\\'" . pascal-mode) 1761 ("\\.pas\\'" . pascal-mode)
1762 ("\\.ad[abs]\\'" . ada-mode) 1762 ("\\.ad[abs]\\'" . ada-mode)
1763 ("\\.ad[bs].dg\\'" . ada-mode) 1763 ("\\.ad[bs].dg\\'" . ada-mode)
1764 ("\\.\\([pP]\\([Llm]\\|erl\\|od\\)\\|al\\)\\'" . perl-mode) 1764 ("\\.\\([pP]\\([Llm]\\|erl\\|od\\)\\|al\\)\\'" . perl-mode)
1765 ("\\.mk\\'" . makefile-mode) 1765 ("\\.mk\\'" . makefile-gmake-mode) ; Might be any make, give Gnu the host advantage
1766 ("\\([Mm]\\|GNUm\\)akep*file\\'" . makefile-mode) 1766 ("[Mm]akefile\\'" . makefile-mode)
1767 ("\\.am\\'" . makefile-mode) ;For Automake. 1767 ("GNUmakefile\\'" . makefile-gmake-mode)
1768 ("Makeppfile\\'" . makefile-makepp-mode)
1769 ("\\.am\\'" . makefile-automake-mode)
1768 ;; Less common extensions come here 1770 ;; Less common extensions come here
1769 ;; so more common ones above are found faster. 1771 ;; so more common ones above are found faster.
1770 ("\\.texinfo\\'" . texinfo-mode) 1772 ("\\.texinfo\\'" . texinfo-mode)
1771 ("\\.te?xi\\'" . texinfo-mode) 1773 ("\\.te?xi\\'" . texinfo-mode)
1772 ("\\.[sS]\\'" . asm-mode) 1774 ("\\.[sS]\\'" . asm-mode)
1934 ("zsh" . sh-mode) 1936 ("zsh" . sh-mode)
1935 ("tail" . text-mode) 1937 ("tail" . text-mode)
1936 ("more" . text-mode) 1938 ("more" . text-mode)
1937 ("less" . text-mode) 1939 ("less" . text-mode)
1938 ("pg" . text-mode) 1940 ("pg" . text-mode)
1939 ("make" . makefile-mode) ; Debian uses this 1941 ("make" . makefile-gmake-mode) ; Debian uses this
1940 ("guile" . scheme-mode) 1942 ("guile" . scheme-mode)
1941 ("clisp" . lisp-mode))) 1943 ("clisp" . lisp-mode)))
1942 "Alist mapping interpreter names to major modes. 1944 "Alist mapping interpreter names to major modes.
1943 This is used for files whose first lines match `auto-mode-interpreter-regexp'. 1945 This is used for files whose first lines match `auto-mode-interpreter-regexp'.
1944 Each element looks like (INTERPRETER . MODE). 1946 Each element looks like (INTERPRETER . MODE).