Function: LaTeX-completion-macro-delimiters

LaTeX-completion-macro-delimiters is a byte-compiled function defined in latex.el.

Signature

(LaTeX-completion-macro-delimiters &optional WHICH)

Documentation

Return elements of the variable LaTeX-completion-macro-delimiters(var)/LaTeX-completion-macro-delimiters(fun).

If the optional WHICH is the symbol open, return the car's of each element in the variable LaTeX-completion-macro-delimiters(var)/LaTeX-completion-macro-delimiters(fun). If it is the symbol close, return the cdr's. If omitted or nil, return all elements.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-completion-macro-delimiters (&optional which)
  "Return elements of the variable `LaTeX-completion-macro-delimiters'.
If the optional WHICH is the symbol `open', return the car's of
each element in the variable `LaTeX-completion-macro-delimiters'.
If it is the symbol `close', return the cdr's.  If omitted or
nil, return all elements."
  (pcase which
    ('open  (mapcar #'car LaTeX-completion-macro-delimiters))
    ('close (mapcar #'cdr LaTeX-completion-macro-delimiters))
    (_      (append (mapcar #'car LaTeX-completion-macro-delimiters)
                    (mapcar #'cdr LaTeX-completion-macro-delimiters)))))