mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Complain if autoload libs fail to load
This commit is contained in:
@ -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")))
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user