Function: reftex-get-bib-field

reftex-get-bib-field is a byte-compiled function defined in reftex-cite.el.gz.

Signature

(reftex-get-bib-field FIELDNAME ENTRY &optional FORMAT)

Documentation

Extract the field FIELDNAME from ENTRY.

If FORMAT is non-nil format entry accordingly.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex-cite.el.gz
(defun reftex-get-bib-field (fieldname entry &optional format)
  "Extract the field FIELDNAME from ENTRY.
If FORMAT is non-nil `format' entry accordingly."
  (let ((cell (assoc fieldname entry)))
    (if cell
        (if format
            (format format (cdr cell))
          (cdr cell))
      "")))