Simplify core loading process

This commit is contained in:
Henrik Lissner 2017-08-08 14:25:36 +02:00
parent 7409890e78
commit 65748c5809
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 8 additions and 10 deletions

View file

@ -312,12 +312,6 @@ MODULES is an malformed plist of modules to load."
(setq doom-modules ',doom-modules)
(unless noninteractive
(require 'core-ui) ; draw me like one of your French editors
(require 'core-popups) ; taming sudden yet inevitable windows
(require 'core-editor) ; baseline configuration for text editing
(require 'core-projects) ; making Emacs project-aware
(require 'core-keybinds) ; centralized keybind system + which-key
(load ,(doom-module-path :private user-login-name "init") t t)
,@(cl-loop for (module . submodule) in (doom--module-pairs)
collect `(require! ,module ,submodule t))