Function: reftex-echo-ref
reftex-echo-ref is a byte-compiled function defined in
reftex-dcr.el.gz.
Signature
(reftex-echo-ref LABEL ENTRY DOCSTRUCT)
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-dcr.el.gz
(defun reftex-echo-ref (label entry docstruct)
;; Display crossref info in echo area.
(cond
((null docstruct)
(message "%s"
(substitute-command-keys (format reftex-no-info-message "ref"))))
((null entry)
(message "ref: unknown label: %s" label))
(t
(when (stringp (nth 2 entry))
(message "ref(%s): %s" (nth 1 entry) (nth 2 entry)))
(let ((buf (get-buffer " *Echo Area*")))
(when buf
(with-current-buffer buf
(run-hooks 'reftex-display-copied-context-hook)))))))