From 3a4233582b84aaad0f6aa7bb2f97bffda04bb153 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 17 Sep 2022 15:30:44 +0200 Subject: [PATCH] perf: add MUST-SUFFIX when loading profile bootstrapper --- early-init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/early-init.el b/early-init.el index dc39a2e9b..b5db3a210 100644 --- a/early-init.el +++ b/early-init.el @@ -77,7 +77,7 @@ (setenv "DOOMPROFILE" profile) (or (load (expand-file-name (format "profiles/init.%d" emacs-major-version) user-emacs-directory) - 'noerror 'nomessage nil t) + 'noerror 'nomessage nil 'must-suffix) (user-error "Profiles not initialized yet; run 'doom sync' first")))) ;; PERF: When `load'ing or `require'ing files, each permutation of