From 99c1664647655bcfc3e95e96027bb508bafbdb4c Mon Sep 17 00:00:00 2001 From: odave Date: Tue, 17 Mar 2020 17:32:56 +0000 Subject: ~changed literate to reflect changes in filesystem --- doom.d/config/literate.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doom.d/config') 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 -- cgit v1.2.3-13-gbd6f