From 0fb7c802f20227b4865a9ca7fb740ef88f33728e Mon Sep 17 00:00:00 2001 From: AChavali Date: Mon, 30 Dec 2019 23:28:01 +0000 Subject: +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 --- doom.d/modules/literate.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doom.d') diff --git a/doom.d/modules/literate.org b/doom.d/modules/literate.org index 1b66376..6f8208b 100644 --- a/doom.d/modules/literate.org +++ b/doom.d/modules/literate.org @@ -4,6 +4,12 @@ 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 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 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 -- cgit v1.2.3-13-gbd6f