Function: reftex-toc-display-index
reftex-toc-display-index is an interactive and byte-compiled function
defined in reftex-toc.el.gz.
Signature
(reftex-toc-display-index &optional ARG)
Documentation
Display the index buffer for the current document.
This works just like reftex-display-index from a LaTeX buffer.
With prefix arg 1, restrict index to the section at point.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-toc.el.gz
(defun reftex-toc-display-index (&optional arg)
"Display the index buffer for the current document.
This works just like `reftex-display-index' from a LaTeX buffer.
With prefix arg 1, restrict index to the section at point."
(interactive "P")
(reftex-toc-dframe-p nil 'error)
(let ((data (get-text-property (point) :data))
(docstruct (symbol-value reftex-docstruct-symbol))
bor eor restr)
(when (equal arg 2)
(setq bor (reftex-last-assoc-before-elt 'toc data docstruct)
eor (assoc 'toc (cdr (memq bor docstruct)))
restr (list (nth 6 bor) bor eor)))
(reftex-toc-goto-line)
(reftex-display-index (if restr nil arg) restr)))