Function: kotl-mode:next-cell
kotl-mode:next-cell is an interactive and byte-compiled function
defined in kotl-mode.el.
Signature
(kotl-mode:next-cell ARG)
Documentation
Move to prefix ARGth next cell (any level) within current view.
Error if called interactively and cannot move to the desired cell.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:next-cell (arg)
"Move to prefix ARGth next cell (any level) within current view.
Error if called interactively and cannot move to the desired cell."
(interactive "p")
(kotl-mode:maintain-region-highlight)
(if (< arg 0)
(kotl-mode:previous-cell (- arg))
(let ((next (= arg 0))
(lbl-sep-len (kview:label-separator-length kotl-kview)))
(while (and (> arg 0) (setq next (kcell-view:next t lbl-sep-len)))
(setq arg (1- arg)))
(if (or next (not (called-interactively-p 'interactive)))
arg
(error "(kotl-mode:next-cell): Last cell")))))