straight: clone --single-branch by default

And compute autoload prefixes; which assist the describe-* (and
helpful-*) libraries.
This commit is contained in:
Henrik Lissner 2021-05-24 13:33:32 -04:00
parent 4b90f28e08
commit 6321b3a249

View file

@ -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