branch: elpa/flx
commit a154058007a5ac48403fed690de9a15a1e76a63c
Author: Le Wang <le.w...@agworld.com.au>
Commit: Le Wang <le.w...@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