fix: silence straight package.el warning

Fix: #8568
This commit is contained in:
Henrik Lissner 2026-01-20 16:58:07 -05:00
parent 360fe03433
commit d2acb6b9c6
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -55,7 +55,10 @@
;; no affect on packages that are pinned, however (run 'doom sync --gc' to
;; compact those after-the-fact). Some packages break when shallow cloned
;; (like magit and org), but we'll deal with that elsewhere.
straight-vc-git-default-clone-depth '(1 single-branch))
straight-vc-git-default-clone-depth '(1 single-branch)
;; Straight emits an intrusive warning if package.el is present and
;; loaded. Silence it.
straight-package--warning-displayed t)
(with-eval-after-load 'straight
;; HACK: Doom relies on deferred compilation, which spares the user 20-50min