aboutsummaryrefslogtreecommitdiff
path: root/evil-states.el
diff options
context:
space:
mode:
Diffstat (limited to 'evil-states.el')
-rw-r--r--evil-states.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-states.el b/evil-states.el
index c15b963..402ea85 100644
--- a/evil-states.el
+++ b/evil-states.el
@@ -345,7 +345,7 @@ otherwise exit Visual state."
(when (evil-visual-state-p)
(setq command (or command this-command))
(if (or quit-flag
- (eq command #'keyboard-quit)
+ (memq command '(keyboard-quit keyboard-escape-quit))
;; Is `mark-active' nil for an unexpanded region?
deactivate-mark
(and (not evil-visual-region-expanded)