Function: kcell-view:invisible-p
kcell-view:invisible-p is a byte-compiled function defined in
kview.el.
Signature
(kcell-view:invisible-p &optional POS LBL-SEP-LEN)
Documentation
Return t if cell at optional POS or point is entirely invisible in current view.
Optional LBL-SEP-LEN is the length of the separation between a cell's label and the start of its contents.
Any cell that is invisible is also collapsed as indicated by a call to kcell-view:collapsed-p.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kview.el
(defun kcell-view:invisible-p (&optional pos lbl-sep-len)
"Return t if cell at optional POS or point is entirely invisible in current view.
Optional LBL-SEP-LEN is the length of the separation between
a cell's label and the start of its contents.
Any cell that is invisible is also collapsed as indicated by a call to
`kcell-view:collapsed-p'."
(let ((start (1- (kcell-view:start pos lbl-sep-len))) ;; Allow for empty cell
(end (kcell-view:end-contents pos)))
(when (delq nil (mapcar (lambda (o)
(and (eq (overlay-get o 'invisible) 'outline)
(>= start (overlay-start o))
(<= end (overlay-end o))))
(overlays-in start end)))
t)))