Function: reftex-toggle-auto-view-crossref
reftex-toggle-auto-view-crossref is an autoloaded, interactive and
byte-compiled function defined in reftex-dcr.el.gz.
Signature
(reftex-toggle-auto-view-crossref)
Documentation
Toggle the automatic display of crossref information in the echo area.
When active, leaving point idle in the argument of a \ref or \cite macro will display info in the echo area.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-dcr.el.gz
;;;###autoload
(defun reftex-toggle-auto-view-crossref ()
"Toggle the automatic display of crossref information in the echo area.
When active, leaving point idle in the argument of a \\ref or \\cite macro
will display info in the echo area."
(interactive)
(if reftex-auto-view-crossref-timer
(progn
(cancel-timer reftex-auto-view-crossref-timer)
(setq reftex-auto-view-crossref-timer nil)
(message "Automatic display of crossref information was turned off"))
(setq reftex-auto-view-crossref-timer
(run-with-idle-timer
reftex-idle-time t #'reftex-view-crossref-when-idle))
(unless reftex-auto-view-crossref
(setq reftex-auto-view-crossref t))
(message "Automatic display of crossref information was turned on")))