1
0
Fork 0

Revert append of org-agenda-files

It adds them again and again...
This commit is contained in:
Daniele Tricoli 2021-12-07 04:30:10 +01:00
parent d8c33cfa05
commit 17ee5aa3ad

View file

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