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

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

[nongnu] elpa/evil-escape 1fe3759ab4 014/133: Fix 'commandp is nil` when


From: ELPA Syncer
Subject: [nongnu] elpa/evil-escape 1fe3759ab4 014/133: Fix 'commandp is nil` when search for `f` in isearch
Date: Wed, 3 Jan 2024 21:59:49 -0500 (EST)

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

    Fix 'commandp is nil` when search for `f` in isearch
---
 evil-escape.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/evil-escape.el b/evil-escape.el
index 66b8bbc1d6..1d1af5e145 100644
--- a/evil-escape.el
+++ b/evil-escape.el
@@ -5,7 +5,7 @@
 ;; Author: Sylvain Benner <sylvain.benner@gmail.com>
 ;; Keywords: convenience editing evil
 ;; Created: 22 Oct 2014
-;; Version: 1.3
+;; Version: 1.4
 ;; Package-Requires: ((emacs "24") (evil "1.0.9") (key-chord "0.6"))
 ;; URL: https://github.com/syl20bnr/evil-escape
 
@@ -198,7 +198,7 @@ INSERT-FUNC.
 If DELETE? is not nil then the first key is deleted using the function
 DELETE-FUNC when calling CALLBACK. "
   :repeat nil
-  (if (eq 'normal evil-state)
+  (if (and shadowed-func (eq 'normal evil-state))
       (call-interactively shadowed-func)
     (let* ((modified (buffer-modified-p))
            (insertf (if insert-func



reply via email to

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