branch: elpa/evil-exchange
commit 6786f0cfaa3ae9e1cecae8e262074adeb7b1c899
Author: Dewdrops <[email protected]>
Commit: Dewdrops <[email protected]>
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