Function: outline-hide-body

outline-hide-body is an interactive and byte-compiled function defined in outline.el.gz.

Signature

(outline-hide-body)

Documentation

Hide all body lines in buffer, leaving all headings visible.

Note that this does not hide the lines preceding the first heading line.

View in manual

Key Bindings

Aliases

hide-body (obsolete since 25.1)

Source Code

;; Defined in /usr/src/emacs/lisp/outline.el.gz
(defun outline-hide-body ()
  "Hide all body lines in buffer, leaving all headings visible.
Note that this does not hide the lines preceding the first heading line."
  (interactive)
  (outline-hide-region-body (point-min) (point-max)))