Function: reftex-toc-jump

reftex-toc-jump is an interactive and byte-compiled function defined in reftex-toc.el.gz.

Signature

(reftex-toc-jump ARG)

Documentation

Jump to a specific section. E.g. '3 z' jumps to section 3.

Useful for large TOCs.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex-toc.el.gz
(defun reftex-toc-jump (arg)
  "Jump to a specific section.  E.g. '3 z' jumps to section 3.
Useful for large TOCs."
  (interactive "P")
  (goto-char (point-min))
  (re-search-forward
   (concat "^ *" (number-to-string (if (numberp arg) arg 1)) " ")
   nil t)
  (beginning-of-line))