Function: LaTeX-completion-candidates-completing-read-multiple
LaTeX-completion-candidates-completing-read-multiple is a
byte-compiled function defined in latex.el.
Signature
(LaTeX-completion-candidates-completing-read-multiple COLLECTION &optional PROPS)
Documentation
Return completion candidates from COLLECTION based on buffer position.
COLLECTION is a list of strings. PROPS is a property list for
additional information as recognized by completion-extra-properties
and is appended to the return value.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.2.0/latex.el
(defun LaTeX-completion-candidates-completing-read-multiple (collection &optional props)
"Return completion candidates from COLLECTION based on buffer position.
COLLECTION is a list of strings. PROPS is a property list for
additional information as recognized by `completion-extra-properties'
and is appended to the return value."
(let ((end (point))
beg list-beg)
(save-excursion
(with-syntax-table (apply #'TeX-search-syntax-table
(LaTeX-completion-macro-delimiters))
(up-list -1))
(setq list-beg (1+ (point))))
(save-excursion
(unless (search-backward "," list-beg t)
(goto-char list-beg))
(skip-chars-forward "^a-zA-Z0-9\\\\" end)
(setq beg (point)))
(append (list beg end collection :exclusive 'no) props)))