Function: kotl-mode:forward-char
kotl-mode:forward-char is an interactive and byte-compiled function
defined in kotl-mode.el.
Signature
(kotl-mode:forward-char &optional ARG)
Documentation
Move point forward ARG (or 1) characters and return point.
Key Bindings
Aliases
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-mode.el
(defun kotl-mode:forward-char (&optional arg)
"Move point forward ARG (or 1) characters and return point."
(interactive "p")
(kotl-mode:maintain-region-highlight)
(unless arg
(setq arg 1))
(if (>= arg 0)
(while (> arg 0)
(cond ((and (kotl-mode:eolp) (kotl-mode:last-line-p))
(error "(kotl-mode:forward-char): End of buffer"))
((kotl-mode:eocp)
(kcell-view:next t))
(t (forward-char)
(kotl-mode:to-valid-position)))
(setq arg (1- arg)))
(kotl-mode:backward-char (- arg)))
(point))