Function: nxml-show-direct-subheadings

nxml-show-direct-subheadings is an interactive and byte-compiled function defined in nxml-outln.el.gz.

Signature

(nxml-show-direct-subheadings)

Documentation

Show the immediate subheadings of the section containing point.

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-show-direct-subheadings ()
  "Show the immediate subheadings of the section containing point.
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 (eq (nxml-get-outline-state pos) 'hide-children)
      (nxml-set-outline-state pos t)))
  (nxml-refresh-outline)
  (nxml-outline-adjust-point))