[Top][All Lists]

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

[elpa] master 8bc23e6 104/184: counsel.el (counsel-compile): delete dupl

From: Oleh Krehel
Subject: [elpa] master 8bc23e6 104/184: counsel.el (counsel-compile): delete duplicates
Date: Wed, 16 Oct 2019 13:15:00 -0400 (EDT)

branch: master
commit 8bc23e604bf8f7a4b11a5e853d12d17e4631a512
Author: Alex Bennée <address@hidden>
Commit: Alex Bennée <address@hidden>

    counsel.el (counsel-compile): delete duplicates
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 74114b4..06db8e9 100644
--- a/counsel.el
+++ b/counsel.el
@@ -5764,7 +5764,7 @@ specified by the `blddir' property."
   (setq counsel-compile--current-build-dir (or dir default-directory))
   (ivy-read "Compile command: "
-            (counsel--get-compile-candidates dir)
+            (delete-dups (counsel--get-compile-candidates dir))
             :action #'counsel-compile--action
             :caller 'counsel-compile))

reply via email to

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