Function: evil-kbd-macro-suppress-motion-error

evil-kbd-macro-suppress-motion-error is a byte-compiled function defined in evil-common.el.

Signature

(evil-kbd-macro-suppress-motion-error)

Documentation

Return non-nil if a motion error should be suppressed.

Whether the motion error should be suppressed depends on the variable evil-kbd-macro-suppress-motion-error(var)/evil-kbd-macro-suppress-motion-error(fun).

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defsubst evil-kbd-macro-suppress-motion-error ()
  "Return non-nil if a motion error should be suppressed.
Whether the motion error should be suppressed depends on the
variable `evil-kbd-macro-suppress-motion-error'."
  (or (and defining-kbd-macro
           (memq evil-kbd-macro-suppress-motion-error '(t record)))
      (and executing-kbd-macro
           (memq evil-kbd-macro-suppress-motion-error '(t replay)))))