emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 9c17df5 3/5: Remove some compat code from viper-cmd.el


From: Lars Ingebrigtsen
Subject: master 9c17df5 3/5: Remove some compat code from viper-cmd.el
Date: Wed, 19 Aug 2020 06:45:16 -0400 (EDT)

branch: master
commit 9c17df59a38b71166c8e4644ab525e791f7ff21c
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Remove some compat code from viper-cmd.el
---
 lisp/emulation/viper-cmd.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el
index 9ae7523..dd7648c 100644
--- a/lisp/emulation/viper-cmd.el
+++ b/lisp/emulation/viper-cmd.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]