mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Fixed org roam agenda entry duplication
This commit is contained in:
parent
e4c23f9e5a
commit
65c8ce3230
|
@ -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)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue