perf: add MUST-SUFFIX when loading profile bootstrapper
This commit is contained in:
parent
7fec2cf5bb
commit
3a4233582b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue