aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-06-18 11:21:57 +0000
committerGerd Moellmann2001-06-18 11:21:57 +0000
commitdc1bf82dbad217b6f52f25d1627fd67c8b4c1757 (patch)
tree84bc6c8acc7dd7b26932cdc424b5d415f9a8d5c7
parentb4c3513f3bdef54f051eea8f903639f6dbe969dc (diff)
downloademacs-dc1bf82dbad217b6f52f25d1627fd67c8b4c1757.tar.gz
emacs-dc1bf82dbad217b6f52f25d1627fd67c8b4c1757.zip
(antlr-mode): Check that `c-Java-access-key' is
bound. Suggested by David B. Malkovsky <David.Malkovsky@sas.com>.
-rw-r--r--lisp/progmodes/antlr-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el
index 3f1d735b535..8d2f3c6f961 100644
--- a/lisp/progmodes/antlr-mode.el
+++ b/lisp/progmodes/antlr-mode.el
@@ -1,6 +1,6 @@
1;;; antlr-mode.el --- Major mode for ANTLR grammar files 1;;; antlr-mode.el --- Major mode for ANTLR grammar files
2 2
3;; Copyright (C) 1999, 2000 Free Software Foundation, Inc. 3;; Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
4;; 4;;
5;; Author: Christoph.Wedler@sap.com 5;; Author: Christoph.Wedler@sap.com
6;; Version: 1.4 6;; Version: 1.4
@@ -1494,7 +1494,7 @@ Otherwise, indent the current line with `antlr-indent-line'."
1494 c-method-key nil 1494 c-method-key nil
1495 c-baseclass-key nil 1495 c-baseclass-key nil
1496 c-recognize-knr-p nil 1496 c-recognize-knr-p nil
1497 c-access-key c-Java-access-key) 1497 c-access-key (and (boundp 'c-Java-access-key) c-Java-access-key))
1498 (and (boundp 'c-inexpr-class-key) (boundp 'c-Java-inexpr-class-key) 1498 (and (boundp 'c-inexpr-class-key) (boundp 'c-Java-inexpr-class-key)
1499 (setq c-inexpr-class-key c-Java-inexpr-class-key))) 1499 (setq c-inexpr-class-key c-Java-inexpr-class-key)))
1500 ;; various ----------------------------------------------------------------- 1500 ;; various -----------------------------------------------------------------