Function: evil-forward-end
evil-forward-end is a byte-compiled function defined in
evil-common.el.
Signature
(evil-forward-end THING &optional COUNT)
Documentation
Move forward to end of THING.
The motion is repeated COUNT times.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-forward-end (thing &optional count)
"Move forward to end of THING.
The motion is repeated COUNT times."
(setq count (or count 1))
(if (> count 0)
(progn (unless (eobp) (forward-char))
(prog1 (forward-thing thing count)
(unless (bobp) (backward-char))))
(let ((bnd (bounds-of-thing-at-point thing))
rest)
(when (and bnd (< (point) (cdr bnd) ))
(goto-char (car bnd)))
(ignore-errors
(when (zerop (setq rest (forward-thing thing count)))
(end-of-thing thing)
(backward-char)))
rest)))