Function: nxml-hide-subheadings
nxml-hide-subheadings is an interactive and byte-compiled function
defined in nxml-outln.el.gz.
Signature
(nxml-hide-subheadings)
Documentation
Hide the subheadings that are part of the section containing point.
The text content will also be hidden, leaving only the heading of the
section itself visible. The state of the subsections will also be
changed to hide their headings, so that M-x nxml-show-direct-text-content (nxml-show-direct-text-content)
would show only the heading of the subsections. The section containing
point is the innermost section that contains the character following
point. See the variable nxml-section-element-name-regexp for more
details on how to customize which elements are recognized as sections
and headings.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/nxml-outln.el.gz
(defun nxml-hide-subheadings ()
"Hide the subheadings that are part of the section containing point.
The text content will also be hidden, leaving only the heading of the
section itself visible. The state of the subsections will also be
changed to hide their headings, so that \\[nxml-show-direct-text-content]
would show only the heading of the subsections. The section containing
point is the innermost section that contains the character following
point. See the variable `nxml-section-element-name-regexp' for more
details on how to customize which elements are recognized as sections
and headings."
(interactive)
(nxml-transform-subtree-outline '((nil . hide-children)
(t . hide-children))))