Complain if autoload libs fail to load

This commit is contained in:
Henrik Lissner
2019-11-09 17:00:33 -05:00
parent 3911a733b7
commit b3b0af8a35

View File

@ -2,10 +2,10 @@
(require 'seq) (require 'seq)
;; Eagerly load these libraries because we may be in a session that ;; Eagerly load these libraries because we may be in a session that hasn't been
;; hasn't been fully initialized (e.g. where autoloads files haven't ;; fully initialized (e.g. where autoloads files haven't been generated or
;; been generated or `load-path' populated). ;; `load-path' populated).
(mapc (doom-rpartial #'load 'noerror 'nomessage) (mapc (doom-rpartial #'load nil (not doom-debug-mode) 'nosuffix)
(file-expand-wildcards (concat doom-core-dir "autoload/*.el"))) (file-expand-wildcards (concat doom-core-dir "autoload/*.el")))