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

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

[elpa] externals/vertico ea82016a98: More robust recursive inhibit preve


From: ELPA Syncer
Subject: [elpa] externals/vertico ea82016a98: More robust recursive inhibit prevention
Date: Fri, 27 Jan 2023 16:58:39 -0500 (EST)

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

    More robust recursive inhibit prevention
---
 vertico.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/vertico.el b/vertico.el
index 8932f33662..912506262a 100644
--- a/vertico.el
+++ b/vertico.el
@@ -429,10 +429,9 @@ The function is configured by BY, BSIZE, BINDEX, BPRED and 
PRED."
     (unless (or (and interruptible (input-pending-p)) (equal vertico--input 
input))
       ;; Redisplay to make input immediately visible before expensive candidate
       ;; recomputation (#89).  No redisplay during init because of flicker.
-      ;; Bind `vertico--input' to nil to prevent recursive exhibit from a 
timer,
-      ;; e.g., `consult--vertico-refresh'.
       (when (and interruptible (consp vertico--input))
-        (let (vertico--input) (redisplay)))
+        ;; Prevent recursive exhibit from timer (`consult-vertico--refresh').
+        (cl-letf (((symbol-function #'vertico--exhibit) #'ignore)) 
(redisplay)))
       (pcase (let ((vertico--metadata (completion-metadata (substring content 
0 pt)
                                                            
minibuffer-completion-table
                                                            
minibuffer-completion-predicate)))



reply via email to

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