From 0489ce42a3ce2283d6b36012d841de76e81ddaf7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 20 Mar 2017 16:33:35 -0400 Subject: [PATCH] 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. --- core/core.el | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/core/core.el b/core/core.el index 8dd6f7a7f..d20de882f 100644 --- a/core/core.el +++ b/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