Function: reftex-index-restriction-forward
reftex-index-restriction-forward is an interactive and byte-compiled
function defined in reftex-index.el.gz.
Signature
(reftex-index-restriction-forward &rest IGNORE)
Documentation
Restrict to previous section.
When index is currently unrestricted, restrict it to a section. When index is restricted, select the next section as restriction criterion.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-index.el.gz
(defun reftex-index-restriction-forward (&rest _ignore)
"Restrict to previous section.
When index is currently unrestricted, restrict it to a section.
When index is restricted, select the next section as restriction criterion."
(interactive)
(let* ((docstruct (symbol-value reftex-docstruct-symbol))
(bor (nth 1 reftex-index-restriction-data)))
(if (or (not bor)
(not (eq (car bor) 'toc)))
(reftex-index-restrict-to-section t)
(setq reftex-index-restriction-indicator (nth 6 bor)
reftex-index-restriction-data
(list bor
(car (memq (assq 'toc (cdr (memq bor docstruct)))
docstruct))))
(reftex-index-revert))))