Mercurial > emacs
diff lisp/files.el @ 34009:8091ba37be87
(auto-mode-alist): Add an entry for antlr-mode.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 29 Nov 2000 16:48:40 +0000 |
parents | af0f3f3533e8 |
children | da2a5d1550b7 |
line wrap: on
line diff
--- a/lisp/files.el Wed Nov 29 16:42:40 2000 +0000 +++ b/lisp/files.el Wed Nov 29 16:48:40 2000 +0000 @@ -1458,7 +1458,8 @@ ;;; 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.)