diff --git a/evil-states.el b/evil-states.el index c15b963d..402ea85e 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)