diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-08-25 08:11:58 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-08-25 08:11:58 +0200 |
commit | 9459c4c17c3338298e88a0af4be1798674bdb6ef (patch) | |
tree | bd07217371bff8e60f56c5a9970e74e2ab9e400e /lisp/files.el | |
parent | 16cae184c13f03515f1883555f4e22a541b0cc32 (diff) | |
download | emacs-9459c4c17c3338298e88a0af4be1798674bdb6ef.tar.gz |
Use `autoconf-mode' for Autoconf .m4 files
* lisp/files.el (auto-mode-alist): Use `autoconf-mode' (instead of
`m4-mode') for acinclude.m4/aclocal.m4/acsite.m4 files (bug#37133).
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el index f76635017d5..2a84c2c48f5 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2719,6 +2719,8 @@ since only a single case-insensitive search through the alist is made." ("\\.bib\\'" . bibtex-mode) ("\\.bst\\'" . bibtex-style-mode) ("\\.sql\\'" . sql-mode) + ;; These .m4 files are Autoconf files. + ("\\(acinclude\\|aclocal\\|acsite\\)\\.m4\\'" . autoconf-mode) ("\\.m[4c]\\'" . m4-mode) ("\\.mf\\'" . metafont-mode) ("\\.mp\\'" . metapost-mode) |