aboutsummaryrefslogtreecommitdiff
path: root/doom.d
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2019-12-30 23:51:17 +0000
committerAChavali <aryadevchavali1@gmail.com>2019-12-30 23:51:17 +0000
commit0ed4d59ed0785d3f7e7c8382d46ff8ddc31f3562 (patch)
tree398719ca69804d701a978ce24f9c0e7358416b76 /doom.d
parent9c3a255f906be0a4dd4695fc4e68e52c6d58c977 (diff)
downloaddotfiles-0ed4d59ed0785d3f7e7c8382d46ff8ddc31f3562.tar.gz
dotfiles-0ed4d59ed0785d3f7e7c8382d46ff8ddc31f3562.tar.bz2
dotfiles-0ed4d59ed0785d3f7e7c8382d46ff8ddc31f3562.zip
~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
Diffstat (limited to 'doom.d')
-rw-r--r--doom.d/modules/literate.org8
1 files changed, 5 insertions, 3 deletions
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