Function: org-fold-regions

org-fold-regions is a function alias for org-fold-core-regions, defined in org-fold-core.el.gz.

Signature

(org-fold-regions REGIONS &key OVERRIDE CLEAN-MARKERS RELATIVE)

Documentation

Fold every region in REGIONS list in current buffer.

Each region in the list is a list (BEG END SPEC-OR-ALIAS) describing region and folding spec to be applied.

When optional argument OVERRIDE is non-nil, clear folding state in the buffer first.

When optional argument CLEAN-MARKERS is non-nil, clear markers used to mark region boundaries in REGIONS.

When optional argument RELATIVE is non-nil, it must be a buffer position. REGION boundaries are then treated as relative distances from that position.

Aliases

org-fold-regions