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

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

[nongnu] elpa/evil-escape 8f5b4ccc81 094/133: Revert insert/delete funct


From: ELPA Syncer
Subject: [nongnu] elpa/evil-escape 8f5b4ccc81 094/133: Revert insert/delete functions
Date: Wed, 3 Jan 2024 21:59:56 -0500 (EST)

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

    Revert insert/delete functions
    
    They are used to prevent the first key from lagging due to the delay
    or the read event.
---
 evil-escape.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/evil-escape.el b/evil-escape.el
index a49a71bb84..3fb5d918f6 100644
--- a/evil-escape.el
+++ b/evil-escape.el
@@ -163,11 +163,11 @@ with a key sequence."
   (with-demoted-errors "evil-escape: Error %S"
       (when (evil-escape-p)
         (let* ((modified (buffer-modified-p))
-               ;; (inserted (evil-escape--insert))
+               (inserted (evil-escape--insert))
                (fkey (elt evil-escape-key-sequence 0))
                (skey (elt evil-escape-key-sequence 1))
                (evt (read-event nil nil evil-escape-delay)))
-          ;; (when inserted (evil-escape--delete))
+          (when inserted (evil-escape--delete))
           (set-buffer-modified-p modified)
           (cond
            ((and (integerp evt)



reply via email to

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