💥 Replace config/private w/ first-class support

The config/private module has been removed. ~/.doom.d (or
~/.config/doom; whichever is detected first) is now a first class
citizen of Doom and should just work(tm).

Your init.el only needs to contain:

  (require 'core (concat user-emacs-directory "core/core"))

And you may place your doom! block in ~/.doom.d/init.el (or
~/.config/doom/init.el).
This commit is contained in:
Henrik Lissner 2018-04-03 03:07:26 -04:00
parent b701303909
commit 355b4b1364
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
10 changed files with 31 additions and 79 deletions

View file

@ -50,10 +50,12 @@ this is nil after Emacs has started something is wrong.")
(make-hash-table :test #'equal :size 100 :rehash-threshold 1.0)
"A hash table of enabled modules. Set by `doom-initialize-modules'.")
(defvar doom-modules-dirs (list doom-modules-dir)
(defvar doom-modules-dirs
(list doom-modules-dir (expand-file-name "modules/" doom-private-dir))
"A list of module root directories. Order determines priority.")
(defvar doom-psuedo-module-dirs ()
(defvar doom-psuedo-module-dirs
(list doom-private-dir)
"Additional paths for modules that are outside of `doom-modules-dirs'.
`doom//reload-autoloads', `doom//byte-compile' and `doom-initialize-packages'
will include the directories in this list.")