]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove some compat code from viper-cmd.el
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 19 Aug 2020 09:37:26 +0000 (11:37 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 19 Aug 2020 09:37:26 +0000 (11:37 +0200)
lisp/emulation/viper-cmd.el

index 9ae7523b432bd488eb14057b63f053d1c38cd10e..dd7648c2b77cd52a17f735b7d0dfa4b84b6b2e6d 100644 (file)
@@ -1564,7 +1564,7 @@ invokes the command before that, etc."
 
 ;; Hook used in viper-undo
 (defun viper-after-change-undo-hook (beg end _len)
-  (if (and (boundp 'undo-in-progress) undo-in-progress)
+  (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