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:
Marien Zwart 2024-04-27 20:02:15 +10:00
parent a42fbea20d
commit 45568feecf
No known key found for this signature in database

View file

@ -45,12 +45,8 @@
;; 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! doom-module-init-file doom-user-dir t)
;; HACK: this initializes enough of straight (particularly
;; straight--build-cache, which doom-profile--generate-package-autoloads hits)
;; to make Doom work.
;;
;; TODO: remove doom-profile--generate-package-autoloads?
;; Because there are no straight-built packages, it generates an empty file.
;; Trigger a write of straight's build cache (which we write into the profile
;; and load again later).
(straight-prune-build-cache)
(doom-profile-generate))