[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu ef9ce15465: Handle completion-cycling-threshold=t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu ef9ce15465: Handle completion-cycling-threshold=t |
Date: |
Sat, 22 Jan 2022 09:57:23 -0500 (EST) |
branch: externals/corfu
commit ef9ce154651f9aa177d65e18885e996aa602f841
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Handle completion-cycling-threshold=t
---
corfu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/corfu.el b/corfu.el
index db43dd3f1e..afa91ea592 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1088,7 +1088,7 @@ See `completion-in-region' for the arguments BEG, END,
TABLE, PRED."
; return 'finished. Otherwise return 'exact.
(if (eq (try-completion (car candidates) table pred)
t)
'finished 'exact)))
- (if (or (not threshold) (< threshold total))
+ (if (not (and threshold (or (eq threshold t) (>= threshold
total))))
(corfu--setup)
(corfu--cycle-candidates total candidates (+ base beg) end)
;; Do not show Corfu when "trivially" cycling, i.e.,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/corfu ef9ce15465: Handle completion-cycling-threshold=t,
ELPA Syncer <=