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