Function: antlr-read-boolean
antlr-read-boolean is a byte-compiled function defined in
antlr-mode.el.gz.
Signature
(antlr-read-boolean INITIAL-CONTENTS PROMPT &optional TABLE)
Documentation
Read a boolean value from the minibuffer, with completion.
If INITIAL-CONTENTS is non-nil, insert it in the minibuffer initially. PROMPT is a string to prompt with, normally it ends in a question mark and a space. "(true or false) " is appended if TABLE is nil.
Read with completion over "true", "false" and the keys in TABLE, see
also antlr-read-value.
Used inside antlr-options-alists.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
(defun antlr-read-boolean (initial-contents prompt &optional table)
"Read a boolean value from the minibuffer, with completion.
If INITIAL-CONTENTS is non-nil, insert it in the minibuffer initially.
PROMPT is a string to prompt with, normally it ends in a question mark
and a space. \"(true or false) \" is appended if TABLE is nil.
Read with completion over \"true\", \"false\" and the keys in TABLE, see
also `antlr-read-value'.
Used inside `antlr-options-alists'."
(antlr-read-value initial-contents
(if table prompt (concat prompt "(true or false) "))
nil
table '(("false") ("true"))))