diff options
Diffstat (limited to 'doom.d')
-rw-r--r-- | doom.d/config/literate.org | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doom.d/config/literate.org b/doom.d/config/literate.org index 8db8a3d..064c2f4 100644 --- a/doom.d/config/literate.org +++ b/doom.d/config/literate.org @@ -8,8 +8,8 @@ loading time. Initialise some basic constants for where stuff is. #+BEGIN_SRC elisp (setq oreodave/literate/bin-dir (expand-file-name (concat doom-private-dir "bin/"))) -(setq oreodave/literate/preloaded-files (list "README.org" "org/packages.org" - "org/config.org" "org/literate.org")) +(setq oreodave/literate/preloaded-files (list "README.org" "config/packages.org" + "config/config.org" "config/literate.org")) #+END_SRC * Remove function When loading the lisp, we need to load everything excluding "config.el" @@ -69,7 +69,7 @@ literate contents. (defun oreodave/literate/compile-hook () (when (and (eq major-mode 'org-mode) (or (file-in-directory-p buffer-file-name doom-private-dir) - (file-in-directory-p buffer-file-name (concat doom-private-dir "modules"))) + (file-in-directory-p buffer-file-name (concat doom-private-dir "config"))) (not (string= buffer-file-name (expand-file-name (concat doom-private-dir "README.org"))))) (oreodave/literate/tangle buffer-file-name (oreodave/literate/destination buffer-file-name)))) @@ -101,7 +101,7 @@ Remove the config.el and literate.el files from the load list because: 2) literate.org is loaded by config.org, thus no need to reload it #+BEGIN_SRC elisp -(let ((files (directory-files-recursively "~/.doom.d/org" ".org"))) ; Load +(let ((files (directory-files-recursively "~/.doom.d/config/" ".org"))) ; Load (dolist (file (oreodave/literate/remove-mult oreodave/literate/preloaded-files files)) (load (oreodave/literate/destination file)))) #+END_SRC |