Function: evil-define-avy-motion

evil-define-avy-motion is a macro defined in evil-integration.el.

Signature

(evil-define-avy-motion COMMAND TYPE)

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-integration.el
(defmacro evil-define-avy-motion (command type)
  (declare (indent defun)
           (debug t))
  (let ((name (intern (format "evil-%s" command))))
    `(evil-define-motion ,name (_count)
       ,(format "Evil motion for `%s'." command)
       :type ,type
       :jump t
       :repeat abort
       (evil-without-repeat
         (evil-enclose-avy-for-motion
           (call-interactively ',command))))))