mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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."
|
||||||
|
Reference in New Issue
Block a user