mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
perf: add MUST-SUFFIX when loading profile bootstrapper
This commit is contained in:
@ -77,7 +77,7 @@
|
|||||||
(setenv "DOOMPROFILE" profile)
|
(setenv "DOOMPROFILE" profile)
|
||||||
(or (load (expand-file-name (format "profiles/init.%d" emacs-major-version)
|
(or (load (expand-file-name (format "profiles/init.%d" emacs-major-version)
|
||||||
user-emacs-directory)
|
user-emacs-directory)
|
||||||
'noerror 'nomessage nil t)
|
'noerror 'nomessage nil 'must-suffix)
|
||||||
(user-error "Profiles not initialized yet; run 'doom sync' first"))))
|
(user-error "Profiles not initialized yet; run 'doom sync' first"))))
|
||||||
|
|
||||||
;; PERF: When `load'ing or `require'ing files, each permutation of
|
;; PERF: When `load'ing or `require'ing files, each permutation of
|
||||||
|
Reference in New Issue
Block a user