[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-escape f85416cc7c 015/133: Escape apropos buffers
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-escape f85416cc7c 015/133: Escape apropos buffers |
Date: |
Wed, 3 Jan 2024 21:59:49 -0500 (EST) |
branch: elpa/evil-escape
commit f85416cc7cabe4f9ae958d9fde1a97f57a8ec20e
Author: syl20bnr <sylvain.benner@gmail.com>
Commit: syl20bnr <sylvain.benner@gmail.com>
Escape apropos buffers
---
evil-escape.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/evil-escape.el b/evil-escape.el
index 1d1af5e145..e59dcb9d64 100644
--- a/evil-escape.el
+++ b/evil-escape.el
@@ -135,9 +135,11 @@ with a key sequence."
;; visual state
(key-chord-define evil-visual-state-map evil-escape-key-sequence
'evil-exit-visual-state)
;; motion state
- (let ((exit-func (cond ((eq 'help-mode major-mode) 'quit-window)
- ((eq 'neotree-mode major-mode) 'neotree-hide)
- (t 'evil-normal-state))))
+ (let ((exit-func (lambda () (interactive)
+ (cond ((or (eq 'apropos-mode major-mode)
+ (eq 'help-mode major-mode)) (quit-window))
+ ((eq 'neotree-mode major-mode) (neotree-hide))
+ (t (evil-normal-state))))))
(eval `(evil-escape-define-escape evil-motion-state-map ,exit-func
:shadowed t)))
;; lisp state if installed
- [nongnu] elpa/evil-escape 509e39d3a0 088/133: Declare function for compiler, (continued)
- [nongnu] elpa/evil-escape 509e39d3a0 088/133: Declare function for compiler, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 47d2031f62 046/133: Fix `f is undefined`, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 8012e3d21f 054/133: Correctly escape in evil replace state, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 8af706a87c 013/133: Fixes #4 evil-escape confuse evil's minibuffer echo system, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape b33a5c722d 012/133: Fixes #5 fd-escaping makes 'df<char>' motion work, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 4779435d94 001/133: Initial commit, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 0fbedcbd86 016/133: Version 1.5.0, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape ca4c6f6065 017/133: Correctly restore bindings when the mode is disabled, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 3e3920f524 008/133: Version 1.01, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 2def4a3b54 006/133: Merge pull request #1 from purcell/patch-1, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape f85416cc7c 015/133: Escape apropos buffers,
ELPA Syncer <=
- [nongnu] elpa/evil-escape 177eccdd92 022/133: Fix byte-compilation error: void function evil-escape--first-key, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 773e7144e2 003/133: Version 1.0, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 95cd06f3c5 029/133: Fix regression with term buffers, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 09b6486054 038/133: Add limitation in macro in README, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape f8657037f4 042/133: Add new custom variable `evil-escape-excluded-major-modes`, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 1d7052cebc 039/133: Bump to version 2.11, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 7067e1b84d 034/133: Fix escape sequence for evil-lisp-state, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape c410d7e977 044/133: Fixes #18 Leaves first key in multi-term, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape f59790846c 062/133: Add evil-escape-inhibit variable, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 0e1996ec55 060/133: Fix Symbol's value as variable is void: hl-line-mode, ELPA Syncer, 2024/01/03