Function: reftex-index-restriction-backward

reftex-index-restriction-backward is an interactive and byte-compiled function defined in reftex-index.el.gz.

Signature

(reftex-index-restriction-backward &rest IGNORE)

Documentation

Restrict to next section.

When index is currently unrestricted, restrict it to a section. When index is restricted, select the previous section as restriction criterion.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex-index.el.gz
(defun reftex-index-restriction-backward (&rest _ignore)
  "Restrict to next section.
When index is currently unrestricted, restrict it to a section.
When index is restricted, select the previous section as restriction criterion."
  (interactive)
  (let* ((docstruct (symbol-value reftex-docstruct-symbol))
         (eor (car reftex-index-restriction-data))
         (bor (reftex-last-assoc-before-elt 'toc eor docstruct t)))
    (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 eor))
      (reftex-index-revert))))