Function: evil-declare-motion

evil-declare-motion is a byte-compiled function defined in evil-common.el.

Signature

(evil-declare-motion COMMAND)

Documentation

Declare COMMAND to be a movement function.

This ensures that it behaves correctly in visual state.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-declare-motion (command)
  "Declare COMMAND to be a movement function.
This ensures that it behaves correctly in visual state."
  (evil-add-command-properties command :keep-visual t :repeat 'motion))