Function: TeX-fold-section
TeX-fold-section is an interactive and byte-compiled function defined
in tex-fold.el.
Signature
(TeX-fold-section)
Documentation
Hide all configured macros and environments in the current section.
The relevant macros are specified in the variable TeX-fold-macro-spec-list
and TeX-fold-math-spec-list, and environments in TeX-fold-env-spec-list.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex-fold.el
(defun TeX-fold-section ()
"Hide all configured macros and environments in the current section.
The relevant macros are specified in the variable `TeX-fold-macro-spec-list'
and `TeX-fold-math-spec-list', and environments in `TeX-fold-env-spec-list'."
(interactive)
(save-mark-and-excursion
(LaTeX-mark-section)
(let ((start (point))
(end (mark)))
(TeX-fold-clearout-region start end)
(TeX-fold-region start end))))