Function: reftex-toggle-auto-toc-recenter
reftex-toggle-auto-toc-recenter is an autoloaded, interactive and
byte-compiled function defined in reftex-toc.el.gz.
Signature
(reftex-toggle-auto-toc-recenter)
Documentation
Toggle the automatic recentering of the TOC window.
When active, leaving point idle will make the TOC window jump to the correct section.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-toc.el.gz
;;;###autoload
(defun reftex-toggle-auto-toc-recenter ()
"Toggle the automatic recentering of the TOC window.
When active, leaving point idle will make the TOC window jump to the correct
section."
(interactive)
(if reftex-toc-auto-recenter-timer
(progn
(cancel-timer reftex-toc-auto-recenter-timer)
(setq reftex-toc-auto-recenter-timer nil)
(message "Automatic recentering of TOC window was turned off"))
(setq reftex-toc-auto-recenter-timer
(run-with-idle-timer
reftex-idle-time t #'reftex-recenter-toc-when-idle))
(message "Automatic recentering of TOC window was turned on")))