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

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

[nongnu] elpa/flx 2348893f90 012/182: flx-ido always use filename cache


From: ELPA Syncer
Subject: [nongnu] elpa/flx 2348893f90 012/182: flx-ido always use filename cache
Date: Tue, 13 Dec 2022 03:59:14 -0500 (EST)

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

    flx-ido always use filename cache
---
 flx-ido.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/flx-ido.el b/flx-ido.el
index c55dbe842d..06f042b3f5 100644
--- a/flx-ido.el
+++ b/flx-ido.el
@@ -12,9 +12,7 @@
   "Better sorting for flx ido matching."
   (if (zerop (length query))
       items
-    (let ((cache (if (eq hist 'ido-file-history)
-                     flx-file-cache
-                   flx-strings-cache))
+    (let ((cache flx-file-cache)
           matches)
       (mapc (lambda (item)
               (let ((score (flx-score item query cache)))



reply via email to

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