diff options
author | Gerd Moellmann <[email protected]> | 2000-11-29 16:49:08 +0000 |
---|---|---|
committer | Gerd Moellmann <[email protected]> | 2000-11-29 16:49:08 +0000 |
commit | 7423978df5b5799702df88f321cb9c647cc18e1f (patch) | |
tree | 6648a0404a9b55ed9f91c33dd6a5f3ab9bc516ab /lisp/files.el | |
parent | aad0f6ab75720cc488deea575310b9bee1dcdbb3 (diff) |
(auto-mode-alist): Add an entry for antlr-mode.
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el index d721042ce2..973f7bc9de 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1458,7 +1458,8 @@ in that case, this function acts as if `enable-local-variables' were t." ;;; The following should come after the ChangeLog pattern ;;; for the sake of ChangeLog.1, etc. ;;; and after the .scm.[0-9] and CVS' <file>.<rev> patterns too. - ("\\.[12345678]\\'" . nroff-mode))) + ("\\.[12345678]\\'" . nroff-mode) + ("\\.g\\'" . antlr-mode))) "Alist of filename patterns vs corresponding major mode functions. Each element looks like (REGEXP . FUNCTION) or (REGEXP FUNCTION NON-NIL). \(NON-NIL stands for anything that is not nil; the value does not matter.) |