Variable: reftex-format-label-function

reftex-format-label-function is a customizable variable defined in reftex-vars.el.gz.

Value

nil

Documentation

Function which produces the string to insert as a label definition.

Normally should be nil, unless you want to do something fancy. The function will be called with two arguments, the LABEL and the DEFAULT FORMAT, which usually is \label{%s}. The function should return the string to insert into the buffer.

Probably introduced at or before Emacs version 20.3.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex-vars.el.gz
(defcustom reftex-format-label-function nil
  "Function which produces the string to insert as a label definition.
Normally should be nil, unless you want to do something fancy.
The function will be called with two arguments, the LABEL and the DEFAULT
FORMAT, which usually is `\\label{%s}'.  The function should return the
string to insert into the buffer."
  :group 'reftex-making-and-inserting-labels
  :type '(choice (const nil) function))