tweak(profiles): suppress profile init compilation warnings
It's not useful information, but should still be emitted if debug mode is on.
This commit is contained in:
parent
750d75a45b
commit
edf54a398b
1 changed files with 2 additions and 1 deletions
|
@ -224,7 +224,8 @@ is non-nil, refresh the cache."
|
||||||
(user-error "To be a bootloader, Doom must be installed in ~/.config/emacs or ~/.emacs.d"))))))
|
(user-error "To be a bootloader, Doom must be installed in ~/.config/emacs or ~/.emacs.d"))))))
|
||||||
:mode #o600
|
:mode #o600
|
||||||
:printfn #'pp)
|
:printfn #'pp)
|
||||||
(byte-compile-file file))
|
(let ((byte-compile-warnings (if init-file-debug byte-compile-warnings)))
|
||||||
|
(print-group! (byte-compile-file file))))
|
||||||
|
|
||||||
(defun doom-profile-p (profile-name)
|
(defun doom-profile-p (profile-name)
|
||||||
"Return t if PROFILE-NAME is a valid and existing profile."
|
"Return t if PROFILE-NAME is a valid and existing profile."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue