diff options
author | odave <aryadevchavali1@gmail.com> | 2020-03-17 17:32:56 +0000 |
---|---|---|
committer | odave <aryadevchavali1@gmail.com> | 2020-03-17 17:45:07 +0000 |
commit | 99c1664647655bcfc3e95e96027bb508bafbdb4c (patch) | |
tree | a5e3ce23c3c560beb9a4ef49baccf05fda69608d /doom.d/config | |
parent | 7414e9c7907f5bd9cd1b2b5b889716be47e10d9f (diff) | |
download | dotfiles-99c1664647655bcfc3e95e96027bb508bafbdb4c.tar.gz dotfiles-99c1664647655bcfc3e95e96027bb508bafbdb4c.tar.bz2 dotfiles-99c1664647655bcfc3e95e96027bb508bafbdb4c.zip |
~changed literate to reflect changes in filesystem
Diffstat (limited to 'doom.d/config')
-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 |