config/private: refactor symlink code

This commit is contained in:
Henrik Lissner
2018-02-15 03:39:12 -05:00
parent 0e6540fb8f
commit 8ca4fbd8fe
2 changed files with 10 additions and 14 deletions

View File

@@ -7,13 +7,9 @@
"The directory that serves as the root of your external private config for
Doom Emacs.")
(defvar +private-modules-path
(expand-file-name "modules/" +private-config-path)
"The path to your private, external modules. This will be symlinked to
external/ in `doom-modules-dir'.")
(defvar +private-module-prefix "private"
"TODO")
(defvar +private-symlink-path
(expand-file-name "private" doom-modules-dir)
"Where the place the symbolic link to the private modules directory.")
;; Ensure `doom//reload-autoloads', `doom//byte-compile' and
;; `doom-initialize-packages' all include this module in their operations.