From 172260118e9435a7c5380ed5fd2eee75fc8945a2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 5 Dec 2019 14:50:05 -0500 Subject: [PATCH] core/core-cli: only load the libraries we need --- core/core-cli.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/core-cli.el b/core/core-cli.el index a58c6d073..4a2d0e510 100644 --- a/core/core-cli.el +++ b/core/core-cli.el @@ -5,8 +5,11 @@ ;; Eagerly load these libraries because we may be in a session that hasn't been ;; fully initialized (e.g. where autoloads files haven't been generated or ;; `load-path' populated). -(mapc (doom-rpartial #'load nil (not doom-debug-mode) 'nosuffix) - (file-expand-wildcards (concat doom-core-dir "autoload/*.el"))) +(load! "autoload/cli") +(load! "autoload/debug") +(load! "autoload/files") +(load! "autoload/format") +(load! "autoload/plist") ;;