Tweak comment, dropping stale TODO
Buliding an empty autoloads file is harmless. Removing it would only have been useful if I was able to skip straight.el initialization entirely: now that I'm storing its build cache it no longer helps.
This commit is contained in:
parent
a42fbea20d
commit
45568feecf
1 changed files with 2 additions and 6 deletions
|
|
@ -45,12 +45,8 @@
|
||||||
;; Load our generated profile's init.el. Both to get the profile right and to
|
;; Load our generated profile's init.el. Both to get the profile right and to
|
||||||
;; load the advice to make Doom not install straight.
|
;; load the advice to make Doom not install straight.
|
||||||
(load! doom-module-init-file doom-user-dir t)
|
(load! doom-module-init-file doom-user-dir t)
|
||||||
;; HACK: this initializes enough of straight (particularly
|
;; Trigger a write of straight's build cache (which we write into the profile
|
||||||
;; straight--build-cache, which doom-profile--generate-package-autoloads hits)
|
;; and load again later).
|
||||||
;; to make Doom work.
|
|
||||||
;;
|
|
||||||
;; TODO: remove doom-profile--generate-package-autoloads?
|
|
||||||
;; Because there are no straight-built packages, it generates an empty file.
|
|
||||||
(straight-prune-build-cache)
|
(straight-prune-build-cache)
|
||||||
(doom-profile-generate))
|
(doom-profile-generate))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue