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

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

[elpa] master adbff7e 019/135: Remove duplicate targets


From: Ian Dunn
Subject: [elpa] master adbff7e 019/135: Remove duplicate targets
Date: Mon, 17 Feb 2020 10:52:45 -0500 (EST)

branch: master
commit adbff7ec564cfcc1f11781456a27a5309c88fb0e
Author: Ian D <address@hidden>
Commit: Ian D <address@hidden>

    Remove duplicate targets
    
    * org-edna.el (org-edna-process-form): Run targets through seq-uniq.
---
 org-edna.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-edna.el b/org-edna.el
index 5843086..485c5ae 100644
--- a/org-edna.el
+++ b/org-edna.el
@@ -103,7 +103,7 @@
              (setq targets nil))
            (setq state 'finder)
            (let ((markers (apply func args)))
-             (setq targets `(,@targets ,@markers))))
+             (setq targets (seq-uniq `(,@targets ,@markers)))))
           ('action
            (unless (eq action-or-condition 'action)
              (user-error "Actions aren't allowed in this context."))



reply via email to

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