]> git.eshelyaron.com Git - emacs.git/commitdiff
(auto-mode-alist): Add an entry for antlr-mode.
authorGerd Moellmann <gerd@gnu.org>
Wed, 29 Nov 2000 16:49:08 +0000 (16:49 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 29 Nov 2000 16:49:08 +0000 (16:49 +0000)
lisp/ChangeLog
lisp/files.el

index 555a6492147d6bff8586d358e51989a9f2d6a2a9..b37dbe76122d34dee5c8fa27db60f51a225de7d8 100644 (file)
@@ -1,5 +1,7 @@
 2000-11-29  Gerd Moellmann  <gerd@gnu.org>
 
+       * 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.
index d721042ce2bb96d555f57040656cc087e352fa92..973f7bc9de0d9c2cb50c5ede3bdc77edf40c0a6b 100644 (file)
@@ -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.)