From dc1bf82dbad217b6f52f25d1627fd67c8b4c1757 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 18 Jun 2001 11:21:57 +0000 Subject: (antlr-mode): Check that `c-Java-access-key' is bound. Suggested by David B. Malkovsky . --- lisp/progmodes/antlr-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/progmodes/antlr-mode.el') diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el index 3f1d735b53..8d2f3c6f96 100644 --- a/lisp/progmodes/antlr-mode.el +++ b/lisp/progmodes/antlr-mode.el @@ -1,6 +1,6 @@ ;;; antlr-mode.el --- Major mode for ANTLR grammar files -;; Copyright (C) 1999, 2000 Free Software Foundation, Inc. +;; Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. ;; ;; Author: Christoph.Wedler@sap.com ;; Version: 1.4 @@ -1494,7 +1494,7 @@ Otherwise, indent the current line with `antlr-indent-line'." c-method-key nil c-baseclass-key nil c-recognize-knr-p nil - c-access-key c-Java-access-key) + c-access-key (and (boundp 'c-Java-access-key) c-Java-access-key)) (and (boundp 'c-inexpr-class-key) (boundp 'c-Java-inexpr-class-key) (setq c-inexpr-class-key c-Java-inexpr-class-key))) ;; various ----------------------------------------------------------------- -- cgit v1.2.3