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

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

[elpa] externals/vertico 071d24b: Do not recompute candidates when input


From: ELPA Syncer
Subject: [elpa] externals/vertico 071d24b: Do not recompute candidates when input is pending
Date: Wed, 21 Jul 2021 06:57:16 -0400 (EDT)

branch: externals/vertico
commit 071d24bfda69008a7e04ed1188a97780c5d65730
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Do not recompute candidates when input is pending
---
 vertico.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vertico.el b/vertico.el
index c8017bc..0dc461f 100644
--- a/vertico.el
+++ b/vertico.el
@@ -575,7 +575,7 @@ The function is configured by BY, BSIZE, BINDEX, BPRED and 
PRED."
                                                 minibuffer-completion-predicate
                                                 after)
                        (t (cons 0 (length after)))))))
-    (unless (equal vertico--input (cons content pt))
+    (unless (or (input-pending-p) (equal vertico--input (cons content pt)))
       (vertico--update-candidates pt content bounds metadata))
     (vertico--prompt-selection)
     (vertico--display-count)



reply via email to

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