diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2022-01-22 15:35:24 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2022-01-22 15:35:24 +0100 |
| commit | ef9ce154651f9aa177d65e18885e996aa602f841 (patch) | |
| tree | cc1daef67fef62fe57ecfa20cd22dea5d25a7579 | |
| parent | 0e573166433c050b76d0598171205f21b1d54337 (diff) | |
Handle completion-cycling-threshold=t
| -rw-r--r-- | corfu.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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., |
