Mercurial > emacs
changeset 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 | 8702e88a1669 |
children | a26368ea650a |
files | lisp/files.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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.)