Function: org-fold-get-folding-spec
org-fold-get-folding-spec is a function alias for
org-fold-core-get-folding-spec, defined in org-fold-core.el.gz.
Signature
(org-fold-get-folding-spec &optional SPEC-OR-ALIAS POM)
Documentation
Get folding state at point or POM.
Return nil if there is no folding at point or POM.
If SPEC-OR-ALIAS is nil, return a folding spec with highest priority
among present at point or POM.
If SPEC-OR-ALIAS is all, return the list of all present folding
specs.
If SPEC-OR-ALIAS is a valid folding spec or a spec alias, return the
corresponding folding spec (if the text is folded using that spec).