From d2acb6b9c6c07707620902cc6a35a9b1d3295fe7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 20 Jan 2026 16:58:07 -0500 Subject: [PATCH] fix: silence straight package.el warning Fix: #8568 --- lisp/doom-straight.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/doom-straight.el b/lisp/doom-straight.el index c590191cd..b8c83fcd5 100644 --- a/lisp/doom-straight.el +++ b/lisp/doom-straight.el @@ -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