~setq -> defvar

This commit is contained in:
dx
2020-05-04 05:12:09 +01:00
parent 161aa2492c
commit cfc7859884

View File

@@ -10,9 +10,8 @@ Initialise some basic constants for where stuff is.
- literate/preloaded-files: Relative to ~$DOOM~, which files are already
preloaded/don't need to be compiled
#+BEGIN_SRC elisp
(setq dx:literate/bin-dir (expand-file-name (concat doom-private-dir "bin/")))
(setq dx:literate/preloaded-files (list "README.org" "org/packages.org"
"org/config.org" "org/literate.org"))
(defvar dx:literate/bin-dir (expand-file-name (concat doom-private-dir "bin/")) "Directory to store elisp compiled files")
(defvar dx:literate/load-files '("~/.doom.d/org/personal.org") "Files to load after compilation")
#+END_SRC
* Remove function
When loading the lisp, we need to load everything excluding "config.el"