Commit dc1bf82d authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(antlr-mode): Check that `c-Java-access-key' is

bound.  Suggested by David B. Malkovsky <David.Malkovsky@sas.com>.
parent b4c3513f
;;; 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 -----------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment