Function: evil-delay

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

This function is obsolete since 1.15.0; use evil-with-delay instead.

Signature

(evil-delay CONDITION FORM HOOK &optional APPEND LOCAL NAME)

Documentation

Execute FORM when CONDITION becomes true, checking with HOOK.

NAME specifies the name of the entry added to HOOK. If APPEND is non-nil, the entry is appended to the hook. If LOCAL is non-nil, the buffer-local value of HOOK is modified.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun evil-delay (condition form hook &optional append local name)
  "Execute FORM when CONDITION becomes true, checking with HOOK.
NAME specifies the name of the entry added to HOOK.  If APPEND is
non-nil, the entry is appended to the hook.  If LOCAL is non-nil,
the buffer-local value of HOOK is modified."
  (declare (obsolete evil-with-delay "1.15.0") (indent 2))
  (eval `(evil-with-delay ,condition (,hook ,append ,local ,name) ,form) t))