From 2b7cf0110c5c13b26c3e1b35c9854263089ba13e Mon Sep 17 00:00:00 2001 From: Ahmed Shariff Date: Tue, 31 Dec 2024 10:02:02 -0800 Subject: [PATCH] Fix: org-roam-ql-nodes-files returns unique values --- org-roam-ql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam-ql.el b/org-roam-ql.el index 424fbf1..d1f4df9 100644 --- a/org-roam-ql.el +++ b/org-roam-ql.el @@ -1235,7 +1235,7 @@ doesn't respect agenda restrict." (defun org-roam-ql-nodes-files (source-or-query) "Retuns a list of files of the corresponding SOURCE-OR-QUERY. See `org-roam-ql-nodes' for more information on SOURCE-OR-QUERY." - (-map #'org-roam-node-file (org-roam-ql-nodes source-or-query))) + (-uniq (-map #'org-roam-node-file (org-roam-ql-nodes source-or-query)))) ;; ***************************************************************************** ;; Helper functions