Include package-activated-list in profile
This seemed reasonable before, and I'm currently debugging a load order problem for which having this is useful.
This commit is contained in:
parent
367bce4bd1
commit
9fea22f0c5
1 changed files with 3 additions and 1 deletions
4
cli2.el
4
cli2.el
|
|
@ -31,7 +31,7 @@ it. Just skip it entirely."
|
|||
;; - Load autoloads. Duplicated by generate-unstraightened-autoloads.
|
||||
;; - Add to load-path. Doom already stores load-path.
|
||||
;; - Add Info node. TODO.
|
||||
;; - Add name to package-activated-list. Maybe serialize that?
|
||||
;; - Add name to package-activated-list. Stored below.
|
||||
|
||||
(defun generate-unstraightened-autoloads ()
|
||||
"Like doom-profile--generate-package-autoloads but for package.el."
|
||||
|
|
@ -49,6 +49,8 @@ it. Just skip it entirely."
|
|||
'doom-profile-generators
|
||||
'("90-loaddefs-unstraightened.auto.el" . generate-unstraightened-autoloads))
|
||||
|
||||
(add-to-list 'doom-autoloads-cached-vars 'package-activated-list)
|
||||
|
||||
(defcli! build-profile-for-nix-build ()
|
||||
"Write a Doom profile."
|
||||
;; HACK: this initializes enough of straight (particularly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue