Function: outline-toggle-children

outline-toggle-children is an interactive and byte-compiled function defined in outline.el.gz.

Signature

(outline-toggle-children)

Documentation

Show or hide the current subtree depending on its current state.

This function has :around advice: outline-toggle-children@fix-for-org-fold.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/outline.el.gz
(defun outline-toggle-children ()
  "Show or hide the current subtree depending on its current state."
  (interactive)
  (save-excursion
    (outline-back-to-heading)
    (if (not (outline-invisible-p (pos-eol)))
        (outline-hide-subtree)
      (outline-show-children)
      (outline-show-entry))))