[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 3251701599 2/3: Use cl-loop repeat
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 3251701599 2/3: Use cl-loop repeat |
Date: |
Wed, 8 Nov 2023 12:57:36 -0500 (EST) |
branch: externals/corfu
commit 325170159904c4d36a9fc3836c8e86e016e922c6
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Use cl-loop repeat
---
corfu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/corfu.el b/corfu.el
index fd883fe9d5..908656a8af 100644
--- a/corfu.el
+++ b/corfu.el
@@ -726,7 +726,7 @@ FRAME is the existing frame."
(bar (ceiling (* corfu-count corfu-count) corfu--total))
(lo (min (- corfu-count bar 1) (floor (* corfu-count
corfu--scroll) corfu--total)))
(`(,mf . ,acands) (corfu--affixate
- (cl-loop for i from 0 below corfu-count
+ (cl-loop repeat corfu-count
for c in (nthcdr corfu--scroll
corfu--candidates)
collect (funcall corfu--hilit
(substring c)))))
(`(,pw ,width ,fcands) (corfu--format-candidates acands))