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

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

[nongnu] elpa/evil-escape 526de681d3 047/133: Fix multiple `isearch-abor


From: ELPA Syncer
Subject: [nongnu] elpa/evil-escape 526de681d3 047/133: Fix multiple `isearch-abort`
Date: Wed, 3 Jan 2024 21:59:51 -0500 (EST)

branch: elpa/evil-escape
commit 526de681d3640b1c0568ca50f61a986891cd94bd
Author: syl20bnr <sylvain.benner@gmail.com>
Commit: syl20bnr <sylvain.benner@gmail.com>

    Fix multiple `isearch-abort`
---
 evil-escape.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/evil-escape.el b/evil-escape.el
index 0c18cb7993..1671f866d2 100644
--- a/evil-escape.el
+++ b/evil-escape.el
@@ -366,8 +366,9 @@ DELETE-FUNC when calling CALLBACK. "
         ;; remove the f character
         (if delete-func (funcall delete-func))
         (set-buffer-modified-p modified)
-        ;; disable any running transient map first
-        (setq overriding-terminal-local-map nil)
+        ;; disable running transient map
+        (unless (equal "isearch" from)
+          (setq overriding-terminal-local-map nil))
         (call-interactively callback))
        (t ; otherwise
         (unless insert-func



reply via email to

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