Revert append of org-agenda-files
It adds them again and again...
This commit is contained in:
parent
d8c33cfa05
commit
17ee5aa3ad
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue