Function: org-fold-next-folding-state-change
org-fold-next-folding-state-change is a function alias for
org-fold-core-next-folding-state-change, defined in
org-fold-core.el.gz.
Signature
(org-fold-next-folding-state-change &optional SPEC-OR-ALIAS POS LIMIT PREVIOUS-P)
Documentation
Return point after POS where folding state changes up to LIMIT.
If SPEC-OR-ALIAS is nil, return next point where _any_ single folding spec changes. For example, (org-fold-core-next-folding-state-change nil) with point somewhere in the below structure will return the nearest <...> point.
* Headline <begin outline fold>
:PROPERTIES:<begin drawer fold>
:ID: test
:END:<end drawer fold>
Fusce suscipit, wisi nec facilisis facilisis, est dui fermentum leo, quis tempor ligula erat quis odio.
** Another headline
:DRAWER:<begin drawer fold>
:END:<end drawer fold>
** Yet another headline
<end of outline fold>
If SPEC-OR-ALIAS is a folding spec symbol, only consider that folding spec.
If SPEC-OR-ALIAS is a list, only consider changes of folding specs from the list.
Search backwards when PREVIOUS-P is non-nil.