Function: forward-evil-defun

forward-evil-defun is a byte-compiled function defined in evil-common.el.

Signature

(forward-evil-defun &optional COUNT)

Documentation

Move forward COUNT defuns.

Moves point COUNT defuns forward or (- COUNT) defuns backward if COUNT is negative. A defun is defined by beginning-of-defun and end-of-defun functions.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun forward-evil-defun (&optional count)
  "Move forward COUNT defuns.
Moves point COUNT defuns forward or (- COUNT) defuns backward
if COUNT is negative.  A defun is defined by
`beginning-of-defun' and `end-of-defun' functions."
  (evil-motion-loop (dir (or count 1))
    (if (> dir 0) (end-of-defun) (beginning-of-defun))))