aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2020-08-19 11:37:26 +0200
committerLars Ingebrigtsen2020-08-19 11:37:26 +0200
commit9c17df59a38b71166c8e4644ab525e791f7ff21c (patch)
tree71b9b401a07349e06695d84fe63fa1d1b06b3403
parentc23fddbc3041f41bd050d569b4a051dd9b6735c8 (diff)
downloademacs-9c17df59a38b71166c8e4644ab525e791f7ff21c.tar.gz
emacs-9c17df59a38b71166c8e4644ab525e791f7ff21c.zip
Remove some compat code from viper-cmd.el
-rw-r--r--lisp/emulation/viper-cmd.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el
index 9ae7523b432..dd7648c2b77 100644
--- a/lisp/emulation/viper-cmd.el
+++ b/lisp/emulation/viper-cmd.el
@@ -1564,7 +1564,7 @@ invokes the command before that, etc."
1564 1564
1565;; Hook used in viper-undo 1565;; Hook used in viper-undo
1566(defun viper-after-change-undo-hook (beg end _len) 1566(defun viper-after-change-undo-hook (beg end _len)
1567 (if (and (boundp 'undo-in-progress) undo-in-progress) 1567 (if undo-in-progress
1568 (setq undo-beg-posn beg 1568 (setq undo-beg-posn beg
1569 undo-end-posn (or end beg)) 1569 undo-end-posn (or end beg))
1570 ;; some other hooks may be changing various text properties in 1570 ;; some other hooks may be changing various text properties in