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:
parent
700f463ee0
commit
0489ce42a3
1 changed files with 5 additions and 6 deletions
11
core/core.el
11
core/core.el
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue