Function: kcell-view:collapsed-p
kcell-view:collapsed-p is a byte-compiled function defined in
kview.el.
Signature
(kcell-view:collapsed-p &optional POS LBL-SEP-LEN)
Documentation
Return t if cell at optional POS or point is collapsed within the current view.
Optional LBL-SEP-LEN is the length of the separation between a cell's label and the start of its contents.
A cell may be collapsed yet still have some of its text visible. Use kcell-view:invisible-p to test for invisibility.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kview.el
(defun kcell-view:collapsed-p (&optional pos lbl-sep-len)
"Return t if cell at optional POS or point is collapsed within the current view.
Optional LBL-SEP-LEN is the length of the separation between
a cell's label and the start of its contents.
A cell may be collapsed yet still have some of its text visible. Use
`kcell-view:invisible-p' to test for invisibility."
(when (memq 'outline (mapcar (lambda (o) (overlay-get o 'invisible))
;; Allow for empty cell
(overlays-in (1- (kcell-view:start pos lbl-sep-len))
(kcell-view:end-contents pos))))
t))