~load! -> load

if loading the destination file, it will not be local but rather the
expanded version of it
This commit is contained in:
AChavali
2020-01-17 02:31:28 +00:00
parent febf1879fa
commit a124a76ffe

View File

@@ -90,7 +90,7 @@ Final step of the literate cycle: load the config for the first time.
#+BEGIN_SRC elisp
(let ((files (directory-files-recursively "~/.doom.d/" ".org"))) ; Load
(dolist (file (oreodave/literate/remove-mult oreodave/literate/preloaded-files files))
(load! (oreodave/literate/destination file))))
(load (oreodave/literate/destination file))))
#+END_SRC
Remove the config.el and literate.el files from the load list because:
1) config.org is preloaded by doom