core: remove noninteractive check

This check was meant to speed up noninteractive initialization of DOOM
Emacs, but the performance penalty is negligible, and there's no telling
what future functionality may need what's in those core modules (like
doom/bootstrap). So, for simplicity, just load everything.
This commit is contained in:
Henrik Lissner 2017-03-20 16:33:35 -04:00
parent 700f463ee0
commit 0489ce42a3

View file

@ -153,12 +153,11 @@ enable multiple minor modes for the same regexp.")
(require 'core-os) ; consistent behavior across Oses
(with-demoted-errors "AUTOLOAD ERROR: %s"
(require 'autoloads doom-autoload-file t))
(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
(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
(add-hook! 'window-setup-hook
(setq gc-cons-threshold 134217728