Function: evil-repeat-insert-at-point-hook

evil-repeat-insert-at-point-hook is a byte-compiled function defined in evil-repeat.el.

Signature

(evil-repeat-insert-at-point-hook BEG END LENGTH)

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-repeat.el
(defun evil-repeat-insert-at-point-hook (beg end _length)
  (let ((repeat-type (evil--repeat-type this-command)))
    (when (and (evil-repeat-recording-p)
               (eq repeat-type 'evil-repeat-insert-at-point)
               (not (evil-emacs-state-p))
               (not (evil-repeat-different-buffer-p t))
               evil-state)
      (setq evil-repeat-pos beg)
      (evil-repeat-record (list 'insert (buffer-substring beg end))))))