Function: antlr-read-language

antlr-read-language is a byte-compiled function defined in antlr-mode.el.gz.

Signature

(antlr-read-language INITIAL-CONTENTS PROMPT)

Documentation

Read an action language 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 colon and a space.

Used inside antlr-options-alists.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/antlr-mode.el.gz
(defun antlr-read-language (initial-contents prompt)
  "Read an action language 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 colon and a
space.

Used inside `antlr-options-alists'."
  (let ((table (apply #'nconc
                      (mapcar (lambda (l) (mapcar #'list (cdr l)))
                              antlr-language-list))))
    (antlr-read-value initial-contents prompt nil table)))