aboutsummaryrefslogtreecommitdiff
path: root/doom.d/modules/literate.org
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2019-12-30 23:28:01 +0000
committerAChavali <aryadevchavali1@gmail.com>2019-12-30 23:28:01 +0000
commit0fb7c802f20227b4865a9ca7fb740ef88f33728e (patch)
tree8304adc8563b961278894825ccedeb41f6c4a60d /doom.d/modules/literate.org
parent96fb4cb2012321dc98a2a6a1058eb049d7e5c0a2 (diff)
downloaddotfiles-0fb7c802f20227b4865a9ca7fb740ef88f33728e.tar.gz
dotfiles-0fb7c802f20227b4865a9ca7fb740ef88f33728e.tar.bz2
dotfiles-0fb7c802f20227b4865a9ca7fb740ef88f33728e.zip
+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
Diffstat (limited to 'doom.d/modules/literate.org')
-rw-r--r--doom.d/modules/literate.org6
1 files changed, 6 insertions, 0 deletions
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