core/core-cli: only load the libraries we need

This commit is contained in:
Henrik Lissner 2019-12-05 14:50:05 -05:00
parent 6f1665563c
commit 172260118e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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")
;;