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 | |
parent | aad0f6ab75720cc488deea575310b9bee1dcdbb3 (diff) |
(auto-mode-alist): Add an entry for antlr-mode.
-rw-r--r-- | lisp/ChangeLog | 2 | ||||
-rw-r--r-- | lisp/files.el | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 555a649214..b37dbe7612 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2000-11-29 Gerd Moellmann <[email protected]> + * files.el (auto-mode-alist): Add an entry for antlr-mode. + * play/5x5.el: Remove version info. * toolbar/tool-bar.el (tool-bar-mode): Doc fix. 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.) |