emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/evil-exchange 6786f0cfaa 40/46: fix obsolete


From: ELPA Syncer
Subject: [nongnu] elpa/evil-exchange 6786f0cfaa 40/46: fix obsolete
Date: Thu, 6 Jan 2022 03:59:53 -0500 (EST)

branch: elpa/evil-exchange
commit 6786f0cfaa3ae9e1cecae8e262074adeb7b1c899
Author: Dewdrops <v_v_4474@126.com>
Commit: Dewdrops <v_v_4474@126.com>

    fix obsolete
---
 evil-exchange.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-exchange.el b/evil-exchange.el
index 49aa34b85b..f3fae42f28 100644
--- a/evil-exchange.el
+++ b/evil-exchange.el
@@ -121,7 +121,7 @@
                                   #'delete-and-extract-region #'insert
                                   t))))))
   ;; place cursor on beginning of line
-  (when (and (evil-called-interactively-p) (eq type 'line))
+  (when (and (called-interactively-p 'any) (eq type 'line))
     (evil-first-non-blank)))
 
 (defun evil-exchange--do-swap (curr-buffer orig-buffer curr-beg curr-end 
orig-beg



reply via email to

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