aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/files.el b/lisp/files.el
index d519f041152..4602b4e1efa 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1744,7 +1744,7 @@ in that case, this function acts as if `enable-local-variables' were t."
1744 (mapc 1744 (mapc
1745 (lambda (elt) 1745 (lambda (elt)
1746 (cons (purecopy (car elt)) (cdr elt))) 1746 (cons (purecopy (car elt)) (cdr elt)))
1747 '(;; do this first, so that .html.pl is Polish html, not Perl 1747 `(;; do this first, so that .html.pl is Polish html, not Perl
1748 ("\\.s?html?\\(\\.[a-zA-Z_]+\\)?\\'" . html-mode) 1748 ("\\.s?html?\\(\\.[a-zA-Z_]+\\)?\\'" . html-mode)
1749 ("\\.te?xt\\'" . text-mode) 1749 ("\\.te?xt\\'" . text-mode)
1750 ("\\.[tT]e[xX]\\'" . tex-mode) 1750 ("\\.[tT]e[xX]\\'" . tex-mode)
@@ -1762,9 +1762,12 @@ in that case, this function acts as if `enable-local-variables' were t."
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-gmake-mode) ; Might be any make, give Gnu the host advantage
1766 ("[Mm]akefile\\'" . makefile-mode)
1767 ("GNUmakefile\\'" . makefile-gmake-mode) 1765 ("GNUmakefile\\'" . makefile-gmake-mode)
1766 ,@(if (memq system-type '(berkeley-unix next-mach darwin))
1767 '(("\\.mk\\'" . makefile-bsdmake-mode)
1768 ("[Mm]akefile\\'" . makefile-bsdmake-mode))
1769 '(("\\.mk\\'" . makefile-gmake-mode) ; Might be any make, give Gnu the host advantage
1770 ("[Mm]akefile\\'" . makefile-mode)))
1768 ("Makeppfile\\'" . makefile-makepp-mode) 1771 ("Makeppfile\\'" . makefile-makepp-mode)
1769 ("\\.am\\'" . makefile-automake-mode) 1772 ("\\.am\\'" . makefile-automake-mode)
1770 ;; Less common extensions come here 1773 ;; Less common extensions come here