emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/flx a154058007 108/182: Use ido's name canonicalization.


From: ELPA Syncer
Subject: [nongnu] elpa/flx a154058007 108/182: Use ido's name canonicalization.
Date: Tue, 13 Dec 2022 03:59:35 -0500 (EST)

branch: elpa/flx
commit a154058007a5ac48403fed690de9a15a1e76a63c
Author: Le Wang <le.wang@agworld.com.au>
Commit: Le Wang <le.wang@agworld.com.au>

    Use ido's name canonicalization.
---
 flx-ido.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flx-ido.el b/flx-ido.el
index 2b04cc02a8..b9d420e931 100644
--- a/flx-ido.el
+++ b/flx-ido.el
@@ -167,7 +167,7 @@ If CLEAR is specified, clear them instead."
   "Match QUERY against ITEMS using flx scores."
   (flx-ido-debug "flx-ido-match-internal saw %s items" (length items))
   (let* ((matches (cl-loop for item in items
-                           for string = (if (consp item) (car item) item)
+                           for string = (ido-name item)
                            for score = (flx-score string query flx-file-cache)
                            if score
                            collect (cons item score)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]