[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil 27c9dce3cf: Add keyboard escape quit to commands whic
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil 27c9dce3cf: Add keyboard escape quit to commands which exit visual state |
Date: |
Sat, 13 Apr 2024 18:59:32 -0400 (EDT) |
branch: elpa/evil
commit 27c9dce3cf49bb3714820d4485bdade8c70434e0
Author: Tom Dalziel <tom_dl@hotmail.com>
Commit: Tom Dalziel <tom_dl@hotmail.com>
Add keyboard escape quit to commands which exit visual state
Fixes #1886
---
evil-states.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/evil-states.el b/evil-states.el
index c15b963d2e..402ea85e98 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/evil 27c9dce3cf: Add keyboard escape quit to commands which exit visual state,
ELPA Syncer <=