Variable: LaTeX-completion-macro-delimiters

LaTeX-completion-macro-delimiters is a variable defined in latex.el.

Value

((91 . 93) (123 . 125) (40 . 41) (60 . 62))

Documentation

List of characters delimiting mandatory and optional arguments.

Each element in the list is cons with opening char as car and the closing char as cdr.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
;;; LaTeX Capf for macro/environment arguments:

;; tex.el defines the function `TeX--completion-at-point' which
;; provides completion at point for (La)TeX macros.  Here we define
;; `LaTeX--arguments-completion-at-point' which is the entry point for
;; completion at point when inside a macro or environment argument.
;; The general idea is:
;;
;; - Find out in which argument of macro/env point is; this is done by
;; the function `LaTeX-what-macro'.
;;
;; - Match the result against the information available in
;; `TeX-symbol-list' or `LaTeX-environment-list' by the function
;; `LaTeX-completion-parse-args'.
;;
;; - If there is a match, pass it to `LaTeX-completion-parse-arg' (note
;; the missing `s') which parses the match and runs the corresponding
;; function to calculate the candidates.  These are the functions
;; `LaTeX-completion-candidates-key-val',
;; `LaTeX-completion-candidates-completing-read-multiple', and
;; `LaTeX-completion-candidates-completing-read'.  These functions have
;; the property ":exclusive 'no" because they might fail easily, so they
;; let the next function in `completion-at-point-functions' take over
;; and have a try.
;;
;; Two mapping variables `LaTeX-completion-function-map-alist-keyval'
;; and `LaTeX-completion-function-map-alist-cr' are provided in order
;; to allow a redirection of the entry in `TeX-symbol-list' or
;; `LaTeX-environment-list' to another function.

(defvar LaTeX-completion-macro-delimiters
  '((?\[ . ?\])
    (?\{ . ?\})
    (?\( . ?\))
    (?\< . ?\>))
  "List of characters delimiting mandatory and optional arguments.
Each element in the list is cons with opening char as car and the
closing char as cdr.")