From b3b0af8a35e7d6b8db88226e67fa0dd4b26a0188 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 9 Nov 2019 17:00:33 -0500 Subject: [PATCH] Complain if autoload libs fail to load --- core/core-cli.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core-cli.el b/core/core-cli.el index 7ae183275..5cde55b4b 100644 --- a/core/core-cli.el +++ b/core/core-cli.el @@ -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")))