+variables: bin-dir, preloaded-files

bin-dir for where the el files should end up, preloaded-files for files
that don't need to be loaded
This commit is contained in:
AChavali
2019-12-30 23:28:01 +00:00
parent 96fb4cb201
commit 0fb7c802f2

View File

@@ -4,6 +4,12 @@
My setup to produce a literate configuration. Allows me to write org files all My setup to produce a literate configuration. Allows me to write org files all
around the /doom-private-dir/ and access them. Also shaved like 0.2s off my around the /doom-private-dir/ and access them. Also shaved like 0.2s off my
loading time. loading time.
* Variables
Initialise some basic constants for where stuff is
#+BEGIN_SRC elisp
(setq oreodave/literate/bin-dir (expand-file-name (concat doom-private-dir "bin/")))
(setq oreodave/literate/preloaded-files (list "README.org" "modules/config.org" "modules/literate.org"))
#+END_SRC
* Remove function * Remove function
When loading the lisp, we need to load everything excluding "config.el" When loading the lisp, we need to load everything excluding "config.el"
(preloaded by doom) and "literate.el" (loaded by "config.el"). We'll make a very (preloaded by doom) and "literate.el" (loaded by "config.el"). We'll make a very