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:
Henrik Lissner 2018-06-09 20:13:20 +02:00
parent 7f31704815
commit 01d1a814f9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 61 additions and 79 deletions

View file

@ -280,8 +280,6 @@
(let ((inhibit-message t)
noninteractive)
(load (concat user-emacs-directory "core/core.el") nil t)
(doom-initialize t)
(doom-initialize-modules t)
(success! "Attempt to load DOOM: success! Loaded v%s" doom-version))
('error
(warn! "Attempt to load DOOM: failed\n %s\n"