Function: org-fold-add-folding-spec

org-fold-add-folding-spec is a function alias for org-fold-core-add-folding-spec, defined in org-fold-core.el.gz.

Signature

(org-fold-add-folding-spec SPEC &optional PROPERTIES BUFFER APPEND)

Documentation

Add a new folding SPEC with PROPERTIES in BUFFER.

SPEC must be a symbol. BUFFER can be a buffer to set SPEC in or nil to set SPEC in current buffer.

By default, the added SPEC will have highest priority among the previously defined specs. When optional APPEND argument is non-nil, SPEC will have the lowest priority instead. If SPEC was already defined earlier, it will be redefined according to provided optional arguments.
`
The folding spec properties will be set to PROPERTIES (see org-fold-core--specs for details).

Aliases

org-fold-add-folding-spec