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

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

[elpa] externals/corfu 2e92e3d100 1/2: corfu--update-candidates: Bind no


From: ELPA Syncer
Subject: [elpa] externals/corfu 2e92e3d100 1/2: corfu--update-candidates: Bind non-essential=t
Date: Sun, 8 May 2022 13:57:22 -0400 (EDT)

branch: externals/corfu
commit 2e92e3d100a4e3eeaf17068e721d8779934debef
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    corfu--update-candidates: Bind non-essential=t
---
 corfu.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/corfu.el b/corfu.el
index dd66aeffe2..4346a734f1 100644
--- a/corfu.el
+++ b/corfu.el
@@ -644,7 +644,10 @@ A scroll bar is displayed from LO to LO+BAR."
   ;; expensive candidate recomputation is performed (Issue #48). See also
   ;; corresponding vertico#89.
   (redisplay)
-  (pcase (while-no-input (corfu--recompute-candidates str pt table pred))
+  (pcase
+      ;; Bind non-essential=t to prevent Tramp from opening new connections.
+      (let ((non-essential t))
+        (while-no-input (corfu--recompute-candidates str pt table pred)))
     ('nil (keyboard-quit))
     (`(,base ,candidates ,total ,hl ,metadata ,preselect)
      (setq corfu--input (cons str pt)



reply via email to

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