Variable: TeX-expand-list
TeX-expand-list is a customizable variable defined in tex.el.
Value
nil
Documentation
List of expansion strings for TeX command names defined by the user.
Each entry is a list with two or more elements. The first element is the string to be expanded. The second element is the name of a function returning the expanded string when called with the remaining elements as arguments. The second element can also be a variable name whose value is such function.
Built-in expansions provided in TeX-expand-list-builtin can be
overwritten by defining expansions strings with the same
expander. Only "%p" expander cannot be overwritten.
Programs should not use these variables directly but the function
TeX-expand-list(var)/TeX-expand-list(fun).
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defcustom TeX-expand-list nil
"List of expansion strings for TeX command names defined by the user.
Each entry is a list with two or more elements. The first
element is the string to be expanded. The second element is the
name of a function returning the expanded string when called with
the remaining elements as arguments.
The second element can also be a variable name whose value is
such function.
Built-in expansions provided in `TeX-expand-list-builtin' can be
overwritten by defining expansions strings with the same
expander. Only \"%p\" expander cannot be overwritten.
Programs should not use these variables directly but the function
`TeX-expand-list'."
:group 'TeX-command
:type '(repeat (group (string :tag "Key")
(sexp :tag "Expander")
(repeat :inline t
:tag "Arguments"
(sexp :format "%v")))))