# HG changeset patch # User Gerd Moellmann # Date 975516520 0 # Node ID 8091ba37be87494030531c51ff25c66761e0b573 # Parent 8702e88a166917b69447be035e44a5dddb9e66ca (auto-mode-alist): Add an entry for antlr-mode. diff -r 8702e88a1669 -r 8091ba37be87 lisp/files.el --- 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' . 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.)