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