fix: load init.el of notes repo when org-roam is properly loaded

This avoids all kinds of issues about variables not being declared,
etc. in the project-notes init.el
This commit is contained in:
Laurens Miers 2025-04-30 09:38:32 +02:00
parent f5ef8d68c5
commit d3dc9465dd
2 changed files with 1 additions and 2 deletions

View file

@ -964,6 +964,7 @@ Preserve indentation in SRC blocks
(org-roam-db-autosync-mode)
;; Add todo lists to org-agenda
(custom-set-variables '(org-agenda-files (directory-files-recursively org-roam-directory "todo\\.org$")))
(load (expand-file-name "init.el" org-roam-directory) :no-error-if-file-is-missing)
)
#+END_SRC