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

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

[elpa] scratch/org-edna e2db4dc 19/72: Remove duplicate targets


From: Ian Dunn
Subject: [elpa] scratch/org-edna e2db4dc 19/72: Remove duplicate targets
Date: Sun, 21 May 2017 21:11:21 -0400 (EDT)

branch: scratch/org-edna
commit e2db4dc53889028f319ddab914a8f8a57005fc11
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]