Function: evil-repeat-insert-at-point

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

Signature

(evil-repeat-insert-at-point FLAG)

Documentation

Repeation recording function for commands that insert text in region.

For example mouse-yank-primary. This records text insertion when a command inserts some text in a buffer between (point) and (mark).

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-repeat.el
(defun evil-repeat-insert-at-point (flag)
  "Repeation recording function for commands that insert text in region.
For example `mouse-yank-primary'. This records text insertion when a command
inserts some text in a buffer between (point) and (mark)."
  (cond
   ((eq flag 'pre)
    (add-hook 'after-change-functions #'evil-repeat-insert-at-point-hook nil t))
   ((eq flag 'post)
    (remove-hook 'after-change-functions #'evil-repeat-insert-at-point-hook t))))