Function: viper-after-change-undo-hook
viper-after-change-undo-hook is a byte-compiled function defined in
viper-cmd.el.gz.
Signature
(viper-after-change-undo-hook BEG END LEN)
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/viper-cmd.el.gz
;; Hook used in viper-undo
(defun viper-after-change-undo-hook (beg end _len)
(if undo-in-progress
(setq undo-beg-posn beg
undo-end-posn (or end beg))
;; some other hooks may be changing various text properties in
;; the buffer in response to 'undo'; so remove this hook to avoid
;; its repeated invocation
(remove-hook 'viper-undo-functions #'viper-after-change-undo-hook 'local)
))