Function: LaTeX-largest-level-set
LaTeX-largest-level-set is a byte-compiled function defined in
latex.el.
Signature
(LaTeX-largest-level-set SECTION)
Documentation
Set LaTeX-largest-level(var)/LaTeX-largest-level(fun) to the level of SECTION.
SECTION has to be a string contained in LaTeX-section-list.
Additionally the function will invalidate the section submenu in
order to let the menu filter regenerate it.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-largest-level-set (section)
"Set `LaTeX-largest-level' to the level of SECTION.
SECTION has to be a string contained in `LaTeX-section-list'.
Additionally the function will invalidate the section submenu in
order to let the menu filter regenerate it."
(setq LaTeX-largest-level (LaTeX-section-level section))
(let ((offset (LaTeX-outline-offset)))
(when (> offset 0)
(let (lst)
(dolist (tup outline-heading-alist)
(setq lst (cons (cons (car tup)
(+ offset (cdr tup)))
lst)))
(setq outline-heading-alist (nreverse lst)))))
(setq LaTeX-section-menu nil))