1
0
Fork 0

Append the org-roam org-agenda-files to the one already defined

This commit is contained in:
Daniele Tricoli 2021-12-06 22:57:57 +01:00
parent b7a743d340
commit d8c33cfa05
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@
(defun org-agenda-files-update (&rest _)
"Update the value of `org-agenda-files'."
(setq org-agenda-files (org-agenda-has-todos-files)))
(setq org-agenda-files (append org-agenda-files (org-agenda-has-todos-files))))
(advice-add 'org-agenda :before #'org-agenda-files-update)