branch: elpa/flx commit fb1ded43df489c876a9a4799c93d6d4189a51ba2 Author: Le Wang <le.w...@agworld.com.au> Commit: Le Wang <le.w...@agworld.com.au>
cache cons cell lists too --- flx-ido.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/flx-ido.el b/flx-ido.el index fb9ea25834..4815a46c77 100644 --- a/flx-ido.el +++ b/flx-ido.el @@ -148,9 +148,7 @@ item, in which case, the ending items are deleted." (concat ido-current-directory query)) (defun flx-ido-cache (query items) - (if (consp (car items)) - items - (puthash (flx-ido-key-for-query query) items flx-ido-narrowed-matches-hash))) + (puthash (flx-ido-key-for-query query) items flx-ido-narrowed-matches-hash)) (defun flx-ido-match (query items) "Better sorting for flx ido matching."