From 6321b3a249077d02fa67a0d4b60ff40e914d4c05 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 24 May 2021 13:33:32 -0400 Subject: [PATCH] straight: clone --single-branch by default And compute autoload prefixes; which assist the describe-* (and helpful-*) libraries. --- core/core-packages.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/core-packages.el b/core/core-packages.el index 572e184d35f..98139d77237 100644 --- a/core/core-packages.el +++ b/core/core-packages.el @@ -96,10 +96,7 @@ uses a straight or package.el command directly).") ;; no affect on packages that are pinned, however (run 'doom purge' 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 - ;; Prefix declarations are unneeded bulk added to our autoloads file. Best - ;; we don't have to deal with them at all. - autoload-compute-prefixes nil) + straight-vc-git-default-clone-depth '(1 single-branch)) (with-eval-after-load 'straight ;; `let-alist' is built into Emacs 26 and onwards