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

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

[elpa] externals/ivy-hydra 8989ed1 276/395: ivy.el (ivy--update-minibuff


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 8989ed1 276/395: ivy.el (ivy--update-minibuffer): don't filter while there's input
Date: Thu, 25 Feb 2021 08:32:19 -0500 (EST)

branch: externals/ivy-hydra
commit 8989ed128402bd6f75ae28c887e029be0dde94a5
Author: Kien Nguyen <kien.n.quang@gmail.com>
Commit: Kien Nguyen <kien.n.quang@gmail.com>

    ivy.el (ivy--update-minibuffer): don't filter while there's input
---
 ivy.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index 5bcdd48..6a319ba 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3463,8 +3463,10 @@ Should be run via minibuffer `post-command-hook'."
                          (ivy--buffer-list "" ivy-use-virtual-buffers)))
                  (setq ivy--old-re nil))))
         (with-current-buffer (ivy-state-buffer ivy-last)
-          (ivy--format
-           (ivy--filter ivy-text ivy--all-candidates))))
+          (let ((ret (while-no-input
+                       (ivy--format
+                        (ivy--filter ivy-text ivy--all-candidates)))))
+            (unless (booleanp ret) ret))))
     (setq ivy--old-text ivy-text)))
 
 (defun ivy-display-function-fallback (str)



reply via email to

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