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

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

[elpa] externals/ivy-hydra 18d7ff9 168/395: ivy.el (ivy--set-candidates)


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 18d7ff9 168/395: ivy.el (ivy--set-candidates): Delete duplicates
Date: Thu, 25 Feb 2021 08:31:55 -0500 (EST)

branch: externals/ivy-hydra
commit 18d7ff9df8b642856699dbfe58ee496f6084e919
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    ivy.el (ivy--set-candidates): Delete duplicates
    
    Fixes #2419
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 9812d59..51d8a18 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3596,7 +3596,7 @@ CANDIDATES are assumed to be static."
         (setq res (append
                    (ivy--filter ivy-text (cadr source))
                    res))))
-    (setq ivy--all-candidates res)))
+    (setq ivy--all-candidates (delete-dups res))))
 
 (defun ivy--shorter-matches-first (_name cands)
   "Sort CANDS according to their length."



reply via email to

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