branch: externals/vertico
commit 5bbddb0cdfa70efa912a72d038d7aa37c8a3b927
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    add while-no-input-ignore-events
    
    Thanks, @clemera
---
 minicomp.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/minicomp.el b/minicomp.el
index 3bd884d..f7fa5ba 100644
--- a/minicomp.el
+++ b/minicomp.el
@@ -188,7 +188,8 @@
 
 (defun minicomp--recompute (input metadata)
   "Preprocess candidates with INPUT string and METADATA."
-  (pcase (while-no-input (minicomp--candidates input metadata))
+  (pcase (let ((while-no-input-ignore-events '(selection-request)))
+           (while-no-input (minicomp--candidates input metadata)))
     (`(,base ,total ,candidates)
      (if-let* ((old (and candidates
                          minicomp--keep

Reply via email to