Function: kotl-mode:previous-cell
kotl-mode:previous-cell is an interactive and byte-compiled function
defined in kotl-mode.el.
Signature
(kotl-mode:previous-cell ARG)
Documentation
Move to prefix ARGth previous 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:previous-cell (arg)
"Move to prefix ARGth previous 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:next-cell (- arg))
(let ((previous (= arg 0))
(lbl-sep-len (kview:label-separator-length kotl-kview)))
(when (not (kview:valid-position-p))
(progn
(kotl-mode:to-valid-position t)
(kotl-mode:beginning-of-cell)
(setq arg (1- arg))
(setq previous t)))
(while (and (> arg 0) (setq previous
(kcell-view:previous t lbl-sep-len)))
(setq arg (1- arg)))
(if (or previous (not (called-interactively-p 'interactive)))
arg
(error "(kotl-mode:previous-cell): First cell")))))