[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 43648ecabc 4/4: Remove duplicates in helm-marked-cand
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 43648ecabc 4/4: Remove duplicates in helm-marked-candidates |
Date: |
Sun, 25 Aug 2024 03:59:56 -0400 (EDT) |
branch: elpa/helm
commit 43648ecabc23dd1516ee08f34487e923a32363cb
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Remove duplicates in helm-marked-candidates
when using at the same time :all-sources and :with-wildcard.
---
helm-core.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/helm-core.el b/helm-core.el
index d03974e2b2..0ea4e26472 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -7751,7 +7751,11 @@ sources."
when (or all-sources
(equal (assq 'name source)
(assq 'name current-src)))
- append (helm--compute-marked real source use-wc)))
+ nconc (helm--compute-marked real source use-wc) into mkds
+ finally return
+ (if (and with-wildcard all-sources)
+ (helm-fast-remove-dups mkds :test 'equal)
+ mkds)))
sel)
(unless candidates
(setq sel (helm-get-selection