Function: bib-display-label

bib-display-label is a byte-compiled function defined in bib-cite.el.

Signature

(bib-display-label)

Documentation

Display environment or first ref associated with a label.

The label or ref name is extracted from the text under the cursor, or the user is prompted is nothing suitable is found. The first prompt is for a label. If you answer with an empty string, a second prompt for a ref will be given.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/bib-cite.el
;;--------------------------------------------------------------------------
;; Functions for Displaying or moving to matching \ref or \label command

(defun bib-display-label ()
"Display environment or first ref associated with a label.
The label or ref name is extracted from the text under the cursor, or the
user is prompted is nothing suitable is found.  The first prompt is for a
label.  If you answer with an empty string, a second prompt for a ref will
be given."
  (let ((the-regexp (bib-guess-or-prompt-for-label)))
    (if (not the-regexp)
        (message "No name given")
      (bib-display-or-find-label the-regexp t))))