diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-04 05:16:45 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-05 02:59:45 +0100 |
commit | 72725dd00dafade883ed7f507ece891c619149dd (patch) | |
tree | 0c5a97bc1137348c6a587dbe1a5ca467de27693b /Doom | |
parent | 1377fe212dbf93147f33103209d87224f8f1beed (diff) | |
download | dotfiles-72725dd00dafade883ed7f507ece891c619149dd.tar.gz dotfiles-72725dd00dafade883ed7f507ece891c619149dd.tar.bz2 dotfiles-72725dd00dafade883ed7f507ece891c619149dd.zip |
~literate/load-files instead of trying to guess them
Diffstat (limited to 'Doom')
-rw-r--r-- | Doom/.doom.d/org/literate.org | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Doom/.doom.d/org/literate.org b/Doom/.doom.d/org/literate.org index 2f90392..b45f1a2 100644 --- a/Doom/.doom.d/org/literate.org +++ b/Doom/.doom.d/org/literate.org @@ -101,13 +101,8 @@ because this is the function we'll be using for tangling all org files to ELisp (dx:literate/tangle file (dx:literate/destination file))))) #+END_SRC * Load configuration -Final step of the literate cycle: load the config for the first time. -Remove the config.el and literate.el files from the load list because: -1) config.org is preloaded by doom -2) literate.org is loaded by config.org, thus no need to reload it - +Final step of the literate cycle: load the config for the first time. Load any org files in =dx:literate/load-files=. #+BEGIN_SRC elisp -(let ((files (directory-files-recursively "~/.doom.d/org/" ".org"))) ; Load - (dolist (file (dx:literate/remove-mult dx:literate/preloaded-files files)) - (load (dx:literate/destination file)))) +(dolist (file dx:literate/load-files) + (load (dx:literate/destination file))) #+END_SRC |