aboutsummaryrefslogtreecommitdiff
path: root/evil-macros.el
diff options
context:
space:
mode:
authorEivind Fonn <evfonn@gmail.com>2017-02-15 13:36:43 +0100
committerEivind Fonn <evfonn@gmail.com>2017-02-15 13:40:34 +0100
commit2cad47110dd4d1e47fe5691c11566e4fcd2f658d (patch)
treeb8c39cacec169e17fd734a3d0d472cd3d8e68f72 /evil-macros.el
parent9e166de9a2faafeafaa22888d4e787bc0c36e86a (diff)
Remove support for Emacs < 24
Diffstat (limited to 'evil-macros.el')
-rw-r--r--evil-macros.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/evil-macros.el b/evil-macros.el
index 13bff5c..aca963f 100644
--- a/evil-macros.el
+++ b/evil-macros.el
@@ -396,7 +396,7 @@ if COUNT is positive, and to the left of it if negative.
(cond
;; Visual state: extend the current selection
((and (evil-visual-state-p)
- (evil-called-interactively-p))
+ (called-interactively-p 'any))
;; if we are at the beginning of the Visual selection,
;; go to the left (negative COUNT); if at the end,
;; go to the right (positive COUNT)
@@ -518,7 +518,7 @@ if COUNT is positive, and to the left of it if negative.
(unwind-protect
(let ((evil-inhibit-operator evil-inhibit-operator-value))
(unless (and evil-inhibit-operator
- (evil-called-interactively-p))
+ (called-interactively-p 'any))
,@body))
(setq evil-inhibit-operator-value nil)))))