Function: kotl-mode:valid-region-p
kotl-mode:valid-region-p is a byte-compiled function defined in
kotl-mode.el.
Signature
(kotl-mode:valid-region-p)
Documentation
Return t if no active region or the region is within visible bounds of a cell.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:valid-region-p ()
"Return t if no active region or the region is within visible bounds of a cell."
(if (region-active-p)
(and (kview:valid-position-p (point))
(kview:valid-position-p (mark))
(>= (region-beginning) (kcell-view:start))
(<= (region-end) (kcell-view:end-contents))
(not (outline-invisible-in-p (region-beginning) (region-end))))
t))