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
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -2,10 +2,10 @@
(require 'seq)
;; 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 'noerror 'nomessage)
;; 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")))