Function: kotl-mode:kill-word
kotl-mode:kill-word is an interactive and byte-compiled function
defined in kotl-mode.el.
Signature
(kotl-mode:kill-word ARG)
Documentation
Kill up to prefix ARG words following point within a single cell.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:kill-word (arg)
"Kill up to prefix ARG words following point within a single cell."
(interactive "*p")
(unless arg
(setq arg 1))
(cond ((> arg 0)
(when (kotl-mode:eocp)
(error "(kotl-mode:kill-word): End of cell")))
((< arg 0)
(when (kotl-mode:bocp)
(error "(kotl-mode:kill-word): Beginning of cell"))))
(unless (= arg 0)
(save-restriction
(narrow-to-region (kcell-view:start) (kcell-view:end-contents))
(kill-word arg))))