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

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

[elpa] externals/ivy-hydra d4fd99f 316/395: Respect original default cho


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra d4fd99f 316/395: Respect original default choice when deduplicating extra actions
Date: Thu, 25 Feb 2021 08:32:28 -0500 (EST)

branch: externals/ivy-hydra
commit d4fd99f234612e8b95a6628a044830dad17dbcef
Author: Aaron Madlon-Kay <aaron@madlon-kay.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    Respect original default choice when deduplicating extra actions
    
    Fixes #2589
    Fixes #2590
---
 ivy.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ivy.el b/ivy.el
index 82118b8..d666add 100644
--- a/ivy.el
+++ b/ivy.el
@@ -229,9 +229,9 @@ ACTIONS that have the same key."
              ("o" identity "default")
              ,@extra-actions))
           (t
-           `(1
-             ,@(cl-delete-duplicates (cdr (append action extra-actions))
-                                     :key #'car :test #'equal :from-end t))))))
+           (cons (car action)
+                 (cl-delete-duplicates (cdr (append action extra-actions))
+                                       :key #'car :test #'equal :from-end 
t))))))
 
 (defvar ivy--prompts-list nil)
 



reply via email to

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