Function: kotl-mode:backward-word
kotl-mode:backward-word is an interactive and byte-compiled function
defined in kotl-mode.el.
Signature
(kotl-mode:backward-word &optional ARG)
Documentation
Move point backward ARG (or 1) words and return point.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:backward-word (&optional arg)
"Move point backward ARG (or 1) words and return point."
(interactive "p")
(kotl-mode:maintain-region-highlight)
(unless arg
(setq arg 1))
(if (>= arg 0)
(while (> arg 0)
(cond ((kotl-mode:bobp) (setq arg 0))
((kotl-mode:bocp)
(if (kcell-view:previous t)
(kotl-mode:end-of-cell))))
(unwind-protect
(backward-word 1)
(kotl-mode:to-valid-position t))
(setq arg (1- arg)))
(kotl-mode:forward-word (- arg)))
(point))