From efcc2670da0ca235a90636e0851a43b8de6b4b60 Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 30 Jan 2023 13:33:17 +0100 Subject: [PATCH] agenda-files now without duplicates --- config.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index 351d352..7f9be98 100644 --- a/config.org +++ b/config.org @@ -1088,7 +1088,8 @@ org-roam-db-sync "Add all org roam files with #+filetags: Project" (interactive) (nconc org-agenda-files - (my--org-roam-list-notes-by-tag "Project"))) + (my--org-roam-list-notes-by-tag "Project")) + (setq org-agenda-files (delete-dups org-agenda-files))) :config (require 'org-roam-dailies) ;; ensure the keymap is available (org-roam-db-autosync-mode)