emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-escape bdb1e69971 133/133: Correct treemacs integrati


From: ELPA Syncer
Subject: [nongnu] elpa/evil-escape bdb1e69971 133/133: Correct treemacs integration (#5)
Date: Wed, 3 Jan 2024 22:00:00 -0500 (EST)

branch: elpa/evil-escape
commit bdb1e69971520cbd65fe61830a1cdea5734d743c
Author: Alexander Miller <alexanderm@web.de>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Correct treemacs integration (#5)
    
    This fixes [1: f71394b].
    
    1: 2023-11-22 f71394b38ac438e1dbab6ffb5532aa1194882630
       Add support for treemacs (#4)
---
 evil-escape.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-escape.el b/evil-escape.el
index 3c839aaad6..83b3559f09 100644
--- a/evil-escape.el
+++ b/evil-escape.el
@@ -246,6 +246,7 @@ If any of these functions return non nil, evil escape will 
be inhibited."
    ((evil-escape--is-magit-buffer) 'evil-escape--escape-with-q)
    ((bound-and-true-p isearch-mode) 'isearch-abort)
    ((window-minibuffer-p) 'abort-recursive-edit)
+   ((eq 'treemacs-mode major-mode) 'treemacs-quit)
    (t (lookup-key evil-normal-state-map [escape]))))
 
 (defun evil-escape--escape-motion-state ()
@@ -263,7 +264,6 @@ If any of these functions return non nil, evil escape will 
be inhibited."
          (string-equal "*helm-ag-edit*" (buffer-name)))
     'helm-ag--edit-abort)
    ((eq 'neotree-mode major-mode) 'neotree-hide)
-   ((eq 'treemacs-mode major-mode) 'treemacs-quit)
    (t 'evil-normal-state)))
 
 (defun evil-escape--escape-emacs-state ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]