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

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

[elpa] externals/ivy-hydra cbce9ce 380/395: * ivy.el (ivy-rotate-sort):


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra cbce9ce 380/395: * ivy.el (ivy-rotate-sort): Also look up t.
Date: Thu, 25 Feb 2021 08:32:43 -0500 (EST)

branch: externals/ivy-hydra
commit cbce9ce71429c98c67bd76ef15d049ecced042f7
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    * ivy.el (ivy-rotate-sort): Also look up t.
    
    Closes #2786.
---
 ivy.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 00f56a3..915239b 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1769,7 +1769,8 @@ specified for the current collection in
 `ivy-sort-functions-alist'."
   (interactive)
   (let ((cell (or (assq (ivy-state-collection ivy-last) 
ivy-sort-functions-alist)
-                  (assq (ivy-state-caller ivy-last) 
ivy-sort-functions-alist))))
+                  (assq (ivy-state-caller ivy-last) ivy-sort-functions-alist)
+                  (assq t ivy-sort-functions-alist))))
     (when (consp (cdr cell))
       (setcdr cell (nconc (cddr cell) (list (cadr cell))))
       (ivy--reset-state ivy-last))))



reply via email to

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