Function: outline-hide-leaves
outline-hide-leaves is an interactive and byte-compiled function
defined in outline.el.gz.
Signature
(outline-hide-leaves)
Documentation
Hide the body after this heading and at deeper levels.
Key Bindings
Aliases
hide-leaves (obsolete since 25.1)
Source Code
;; Defined in /usr/src/emacs/lisp/outline.el.gz
(defun outline-hide-leaves ()
"Hide the body after this heading and at deeper levels."
(interactive)
(save-excursion
(outline-back-to-heading)
;; Turned off to fix bug reported by Otto Maddox on 22 Nov 2005.
;; (outline-end-of-heading)
(outline-hide-region-body
(point)
(progn (outline-end-of-subtree) (point)))))