Complain if autoload libs fail to load
This commit is contained in:
parent
3911a733b7
commit
b3b0af8a35
1 changed files with 4 additions and 4 deletions
|
@ -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")))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue