[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 172feef: Bug fix
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 172feef: Bug fix |
Date: |
Sun, 21 Nov 2021 19:57:13 -0500 (EST) |
branch: externals/corfu
commit 172feefac8f59bc29025502101c772b2d83435a6
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Bug fix
---
corfu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/corfu.el b/corfu.el
index 1dffa1c..8130dec 100644
--- a/corfu.el
+++ b/corfu.el
@@ -522,7 +522,7 @@ A scroll bar is displayed from LO to LO+BAR."
(defun corfu--move-prefix-candidates-to-front (field candidates)
"Move CANDIDATES which match prefix of FIELD to the beginning."
- (let* ((word (car (split-string field)))
+ (let* ((word (replace-regexp-in-string " .*" "" field))
(len (length word)))
(corfu--partition! candidates
(and (>= (length it) len)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/corfu 172feef: Bug fix,
ELPA Syncer <=