diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2022-05-08 19:45:38 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2022-05-08 19:45:38 +0200 |
| commit | 2e92e3d100a4e3eeaf17068e721d8779934debef (patch) | |
| tree | 47ee197fb3626ccfa82a9509c5c9f62214565a89 | |
| parent | bf9bb725f70fb3165e2831c5926217bd6a8bc68d (diff) | |
corfu--update-candidates: Bind non-essential=t
| -rw-r--r-- | corfu.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |
