Function: org-fold-core-folded-p

org-fold-core-folded-p is a byte-compiled function defined in org-fold-core.el.gz.

Signature

(org-fold-core-folded-p &optional POS SPEC-OR-ALIAS)

Documentation

Non-nil if the character after POS is folded.

If POS is nil, use point instead. If SPEC-OR-ALIAS is a folding spec or a list, only check the given folding spec or the listed specs.

Aliases

org-fold-folded-p

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-fold-core.el.gz
;;;; Searching and examining folded text

(defsubst org-fold-core-folded-p (&optional pos spec-or-alias)
  "Non-nil if the character after POS is folded.
If POS is nil, use `point' instead.
If SPEC-OR-ALIAS is a folding spec or a list, only check the given
folding spec or the listed specs."
  (if (and spec-or-alias (listp spec-or-alias))
      (catch :found
        (dolist (spec spec-or-alias)
          (let ((val (org-fold-core-get-folding-spec spec pos)))
            (when val (throw :found val)))))
    (org-fold-core-get-folding-spec spec-or-alias pos)))