doom config variables load order

This commit is contained in:
2025-04-11 22:52:01 -06:00
parent 8cdb4b5a9b
commit 31b8164efc

View File

@@ -51,6 +51,8 @@ putting these variables on top, will make it easier to make this file modular.
"Org files to always include in the agenda, even if no TODOs are found.") "Org files to always include in the agenda, even if no TODOs are found.")
(defvar my/doom-template-dir (expand-file-name "templates/" my/doom-data-dir) (defvar my/doom-template-dir (expand-file-name "templates/" my/doom-data-dir)
"Directory for org-roam capture templates.") "Directory for org-roam capture templates.")
(setq! org-roam-directory my/org-base-dir
org-roam-dailies-directory (expand-file-name "daily/" my/org-base-dir))
#+end_src #+end_src
* BIBLE * BIBLE
@@ -793,11 +795,10 @@ templates for dailies, and nodes.
| org-roam-dailies-find-yesterday | org roam dailies find yesterday | SPC n r d y | | org-roam-dailies-find-yesterday | org roam dailies find yesterday | SPC n r d y |
#+begin_src emacs-lisp :tangle ./config.el #+begin_src emacs-lisp :tangle ./config.el
(setq deft-directory my/org-base-dir) (setq! deft-directory my/org-base-dir)
(use-package org-roam (use-package org-roam
:ensure t :ensure t
:custom :custom
(org-roam-directory my/org-base-dir)
(org-roam-completion-everywhere t) (org-roam-completion-everywhere t)
(org-roam-dailies-capture-templates (org-roam-dailies-capture-templates
'(("d" "default" entry "* %<%I:%M %p>: %?" '(("d" "default" entry "* %<%I:%M %p>: %?"