From efa3e1ec59d7dbd45049d6b15ac998c6ebd9383b Mon Sep 17 00:00:00 2001 From: AChavali Date: Mon, 30 Dec 2019 23:52:43 +0000 Subject: ~using oreodave..destination rather than regex --- doom.d/modules/literate.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doom.d/modules') diff --git a/doom.d/modules/literate.org b/doom.d/modules/literate.org index 0fc9c7b..5945665 100644 --- a/doom.d/modules/literate.org +++ b/doom.d/modules/literate.org @@ -87,8 +87,8 @@ literate contents. 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 - (load! (replace-regexp-in-string ".org" ".el" file)))) (dolist (file (oreodave/literate/remove-mult oreodave/literate/preloaded-files files)) + (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 -- cgit v1.2.3-13-gbd6f