From 0ed4d59ed0785d3f7e7c8382d46ff8ddc31f3562 Mon Sep 17 00:00:00 2001 From: AChavali Date: Mon, 30 Dec 2019 23:51:17 +0000 Subject: ~more explanation and removed tangle-all Don't need to tangle as every time I do an edit through Emacs it'll load the change directly --- doom.d/modules/literate.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doom.d/modules') diff --git a/doom.d/modules/literate.org b/doom.d/modules/literate.org index a1a3bf0..0fc9c7b 100644 --- a/doom.d/modules/literate.org +++ b/doom.d/modules/literate.org @@ -83,11 +83,13 @@ literate contents. (after! org (add-hook 'after-save-hook #'oreodave/literate/compile-hook)) #+END_SRC -* Config run -Parse all Emacs lisp files. Then load them. +* Load configuration +Final step of the literate cycle: load the config for the first time. #+BEGIN_SRC elisp -(oreodave/literate/tangle-all) ; Parse (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)) #+END_SRC +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 -- cgit v1.2.3-13-gbd6f