branch: elpa/flx
commit 30329208830b4aff18c9ebacea192515000633d7
Author: Brian Suh <brian.j....@gmail.com>
Commit: Brian Suh <brian.j....@gmail.com>

    Fix search results changing positions as you type.
---
 flx-ido.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flx-ido.el b/flx-ido.el
index 7cb18b0efb..bc85adab89 100644
--- a/flx-ido.el
+++ b/flx-ido.el
@@ -231,7 +231,7 @@ Our implementation always uses flex and doesn't care about 
substring matches."
            (if (string-match re name)
                (setq matches (cons item matches)))))
        items)
-      (delete-consecutive-dups matches t))))
+      (delete-consecutive-dups (nreverse matches) t))))
 
 (defadvice ido-exit-minibuffer (around flx-ido-reset activate)
   "Remove flx properties after."

Reply via email to