Fixed org roam agenda entry duplication

This commit is contained in:
Emmet 2023-07-14 13:30:22 -05:00
parent e4c23f9e5a
commit 65c8ce3230
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) (dolist (DB full-org-roam-db-list-pretty)
(org-roam-append-notes-to-agenda "todos" DB) (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) (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) (dolist (DB full-org-roam-db-list-pretty)
(org-roam-append-notes-to-agenda "todos" DB) (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) (org-roam-switch-db prev-org-roam-db-choice 1)
) )