Function: nxml-hide-direct-text-content
nxml-hide-direct-text-content is an interactive and byte-compiled
function defined in nxml-outln.el.gz.
Signature
(nxml-hide-direct-text-content)
Documentation
Hide the text content that is directly part of the section containing point.
The heading of the section will remain visible. The state of
subsections will not be changed. 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-direct-text-content ()
"Hide the text content that is directly part of the section containing point.
The heading of the section will remain visible. The state of
subsections will not be changed. 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)
(let ((pos (nxml-section-start-position)))
(when (null (nxml-get-outline-state pos))
(nxml-set-outline-state pos t)))
(nxml-refresh-outline)
(nxml-outline-adjust-point))