Function: TeX-read-completing-read-multiple
TeX-read-completing-read-multiple is a byte-compiled function defined
in latex.el.
Signature
(TeX-read-completing-read-multiple OPTIONAL TABLE &optional PROMPT COMPLETE PREDICATE REQUIRE-MATCH INITIAL-INPUT HIST DEF INHERIT-INPUT-METHOD)
Documentation
Read multiple strings in the minibuffer, with completion and return them.
If OPTIONAL is non-nil, indicate it in the prompt.
TABLE provides elements for completion and is passed to
TeX-completing-read-multiple. It can be:
- A function call without arguments
- A function object
- A symbol returning a list
- A List
PROMPT replaces the standard one where ' (crm): ' is appended to it. If you want the full control over the prompt, set COMPLETE to non-nil and then provide a full PROMPT.
PREDICATE, REQUIRE-MATCH, INITIAL-INPUT, HIST, DEF and
INHERIT-INPUT-METHOD are passed to
TeX-completing-read-multiple, which see.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun TeX-read-completing-read-multiple (optional table &optional prompt complete
predicate require-match
initial-input hist def
inherit-input-method)
"Read multiple strings in the minibuffer, with completion and return them.
If OPTIONAL is non-nil, indicate it in the prompt.
TABLE provides elements for completion and is passed to
`TeX-completing-read-multiple'. It can be:
- A function call without arguments
- A function object
- A symbol returning a list
- A List
PROMPT replaces the standard one where \\=' (crm): \\=' is appended to
it. If you want the full control over the prompt, set COMPLETE
to non-nil and then provide a full PROMPT.
PREDICATE, REQUIRE-MATCH, INITIAL-INPUT, HIST, DEF and
INHERIT-INPUT-METHOD are passed to
`TeX-completing-read-multiple', which see."
(TeX-completing-read-multiple
(TeX-argument-prompt optional
(cond ((and prompt (not complete))
(concat prompt " (crm)"))
((and prompt complete)
prompt)
(t nil))
"Options (crm)"
complete)
(cond ((and (listp table)
(symbolp (car table))
(fboundp (car table))
(not (eq (car table) 'lambda)))
(funcall (car table)))
((functionp table)
(funcall table))
((and (symbolp table)
(boundp table))
(symbol-value table))
(t table))
predicate require-match initial-input hist def inherit-input-method))