Function: org-invisible-p

org-invisible-p is a byte-compiled function defined in org-macs.el.

Signature

(org-invisible-p &optional POS FOLDING-ONLY)

Documentation

Non-nil if the character after POS is invisible.

If POS is nil, use point instead. When optional argument FOLDING-ONLY is non-nil, only consider invisible parts due to folding of a headline, a block or a drawer, i.e., not because of fontification.

Source Code

;; Defined in ~/.emacs.d/elpa/org-9.8.2/org-macs.el
;; FIXME: move to org-fold?
(defun org-invisible-p (&optional pos folding-only)
  "Non-nil if the character after POS is invisible.
If POS is nil, use `point' instead.  When optional argument
FOLDING-ONLY is non-nil, only consider invisible parts due to
folding of a headline, a block or a drawer, i.e., not because of
fontification."
  (let ((value (invisible-p (or pos (point)))))
    (cond ((not value) nil)
	  (folding-only (org-fold-folded-p (or pos (point))))
	  (t value))))