Function: org-fold-show-all

org-fold-show-all is an interactive and byte-compiled function defined in org-fold.el.gz.

Signature

(org-fold-show-all &optional TYPES)

Documentation

Show all contents in the visible part of the buffer.

By default, the function expands headings, blocks and drawers. When optional argument TYPES is a list of symbols among blocks, drawers and headings, to only expand one specific type.

Key Bindings

Aliases

org-show-all (obsolete since 9.6)

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-fold.el.gz
(defun org-fold-show-all (&optional types)
  "Show all contents in the visible part of the buffer.
By default, the function expands headings, blocks and drawers.
When optional argument TYPES is a list of symbols among `blocks',
`drawers' and `headings', to only expand one specific type."
  (interactive)
  (dolist (type (or types '(blocks drawers headings)))
    (org-fold-region (point-min) (point-max) nil
	     (pcase type
	       (`blocks 'block)
	       (`drawers 'drawer)
	       (`headings 'headline)
	       (_ (error "Invalid type: %S" type))))))