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)
Documentation
Return completion candidates from COLLECTION based on buffer position.
COLLECTION is a list of strings.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-completion-candidates-completing-read-multiple (collection)
"Return completion candidates from COLLECTION based on buffer position.
COLLECTION is a list of strings."
(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)))
(list beg end collection :exclusive 'no)))