Refactor doom-initialize functions
Removes doom-module-table; which was inflexible (though more stable). It prevented you from putting your doom! block in anywhere but ~/.doom.d/init.el. It is replaced (somewhat) by (doom-modules).
This commit is contained in:
parent
7f31704815
commit
01d1a814f9
5 changed files with 61 additions and 79 deletions
|
@ -120,7 +120,6 @@ else (except for `window-setup-hook').")
|
|||
tramp-persistency-file-name (concat doom-cache-dir "tramp-persistency.el")
|
||||
url-cache-directory (concat doom-cache-dir "url/")
|
||||
url-configuration-directory (concat doom-etc-dir "url/"))
|
||||
(load custom-file t t t)
|
||||
|
||||
|
||||
;;
|
||||
|
@ -201,11 +200,12 @@ this, you'll get stuttering and random freezes) and resets
|
|||
|
||||
(require 'core-lib)
|
||||
(require 'core-packages)
|
||||
(when noninteractive
|
||||
(require 'core-dispatcher))
|
||||
|
||||
(load custom-file t t t)
|
||||
(doom-initialize noninteractive)
|
||||
(if noninteractive
|
||||
(require 'core-dispatcher)
|
||||
(doom-initialize-modules))
|
||||
(doom-initialize-modules)
|
||||
|
||||
(provide 'core)
|
||||
;;; core.el ends here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue