Fixed org roam agenda entry duplication

This commit is contained in:
Emmet
2023-07-14 13:30:22 -05:00
parent 8b3ade8b10
commit 47056c3b88
2 changed files with 2 additions and 0 deletions

View File

@@ -604,6 +604,7 @@ same directory as the org-buffer and insert a link to this file."
(dolist (DB full-org-roam-db-list-pretty)
(org-roam-append-notes-to-agenda "todos" DB)
)
(setq org-agenda-files (-uniq org-agenda-files))
(org-roam-switch-db prev-org-roam-db-choice 1)
)

View File

@@ -707,6 +707,7 @@ exit
(dolist (DB full-org-roam-db-list-pretty)
(org-roam-append-notes-to-agenda "todos" DB)
)
(setq org-agenda-files (-uniq org-agenda-files))
(org-roam-switch-db prev-org-roam-db-choice 1)
)