Variable: LaTeX-label-function
LaTeX-label-function is a customizable variable defined in latex.el.
Value
LaTeX-label--default
Documentation
A function inserting a label at point or returning a label string.
Called with two argument NAME and NO-INSERT where NAME is the environment. The function has to return the label inserted, or nil if no label was inserted. If the optional argument NO-INSERT is non-nil, then the function has to return the label as string without any insertion or nil if no label was read in.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defcustom LaTeX-label-function #'LaTeX-label--default
"A function inserting a label at point or returning a label string.
Called with two argument NAME and NO-INSERT where NAME is the environment.
The function has to return the label inserted, or nil if no label was
inserted. If the optional argument NO-INSERT is non-nil, then
the function has to return the label as string without any
insertion or nil if no label was read in."
:group 'LaTeX-label
:type 'function)