Function: reftex-toc-max-level

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

Signature

(reftex-toc-max-level ARG)

Documentation

Set the maximum level of TOC lines in this buffer to value of prefix ARG.

When no prefix is given, set the max level to a large number, so that all levels are shown. For example, to set the level to 3, type 3 m.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex-toc.el.gz
(defun reftex-toc-max-level (arg)
  "Set the maximum level of TOC lines in this buffer to value of prefix ARG.
When no prefix is given, set the max level to a large number, so that all
levels are shown.  For example, to set the level to 3, type `3 m'."
  (interactive "P")
  (setq reftex-toc-max-level (if arg
                                 (prefix-numeric-value arg)
                               100))
  (setq reftex-toc-max-level-indicator
        (if arg (int-to-string reftex-toc-max-level) "ALL"))
  (reftex-toc-revert))