branch: master
commit 4998ba814f8def1615480990c9c17047f5d8cd25
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    ivy.el (ivy-completing-read): Use the "t" key of ivy-sort-functions-alist
    
    Fixes #449
---
 ivy.el |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index d082c8e..f11543a 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1529,7 +1529,8 @@ INHERIT-INPUT-METHOD is currently ignored."
               :history history
               :keymap nil
               :sort
-              (let ((sort (assoc this-command ivy-sort-functions-alist)))
+              (let ((sort (or (assoc this-command ivy-sort-functions-alist)
+                              (assoc t ivy-sort-functions-alist))))
                 (if sort
                     (cdr sort)
                   t)))))

Reply via email to