Variable: reftex-format-cite-function

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

Value

nil

Documentation

Function which produces the string to insert as a citation.

Normally should be nil, because the format to insert a reference can already be specified in reftex-cite-format. The function will be called with two arguments, the CITATION KEY and the DEFAULT FORMAT, which is taken from reftex-cite-format. 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-cite-function nil
  "Function which produces the string to insert as a citation.
Normally should be nil, because the format to insert a reference can
already be specified in `reftex-cite-format'.
The function will be called with two arguments, the CITATION KEY and the
DEFAULT FORMAT, which is taken from `reftex-cite-format'.  The function
should return the string to insert into the buffer."
  :group 'reftex-citation-support
  :type '(choice (const nil) function))