Function: kotl-mode:next-tree
kotl-mode:next-tree is a byte-compiled function defined in
kotl-mode.el.
Signature
(kotl-mode:next-tree)
Documentation
Move past current tree to the start of the next tree.
If no next tree go to the start of the last cell in tree. Return non-nil iff there is a next tree within the koutline.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:next-tree ()
"Move past current tree to the start of the next tree.
If no next tree go to the start of the last cell in tree. Return
non-nil iff there is a next tree within the koutline."
(let ((start-indent (kcell-view:indent))
(lbl-sep-len (kview:label-separator-length kotl-kview))
(same-tree t))
(while (and (kcell-view:next nil lbl-sep-len)
(setq same-tree (>= (- (kcell-view:indent nil lbl-sep-len) start-indent)
(kview:level-indent kotl-kview)))))
(not same-tree)))