~load! -> load
if loading the destination file, it will not be local but rather the expanded version of it
This commit is contained in:
@@ -90,7 +90,7 @@ Final step of the literate cycle: load the config for the first time.
|
|||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC elisp
|
||||||
(let ((files (directory-files-recursively "~/.doom.d/" ".org"))) ; Load
|
(let ((files (directory-files-recursively "~/.doom.d/" ".org"))) ; Load
|
||||||
(dolist (file (oreodave/literate/remove-mult oreodave/literate/preloaded-files files))
|
(dolist (file (oreodave/literate/remove-mult oreodave/literate/preloaded-files files))
|
||||||
(load! (oreodave/literate/destination file))))
|
(load (oreodave/literate/destination file))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
Remove the config.el and literate.el files from the load list because:
|
Remove the config.el and literate.el files from the load list because:
|
||||||
1) config.org is preloaded by doom
|
1) config.org is preloaded by doom
|
||||||
|
|||||||
Reference in New Issue
Block a user