Initialize package.el on doom-initialize-packages
So that packages installed via package.el are still available.
This commit is contained in:
parent
bc8b6605db
commit
8d3536fa77
1 changed files with 3 additions and 0 deletions
|
@ -132,6 +132,9 @@ If FORCE-P is non-nil, do it anyway.
|
||||||
This ensure `doom-packages' is populated, if isn't aren't already. Use this
|
This ensure `doom-packages' is populated, if isn't aren't already. Use this
|
||||||
before any of straight's or Doom's package management's API to ensure all the
|
before any of straight's or Doom's package management's API to ensure all the
|
||||||
necessary package metadata is initialized and available for them."
|
necessary package metadata is initialized and available for them."
|
||||||
|
(when (or force-p (not (bound-and-true-p package--initialized)))
|
||||||
|
(require 'package)
|
||||||
|
(package-initialize))
|
||||||
(when (or force-p (not doom-init-packages-p))
|
(when (or force-p (not doom-init-packages-p))
|
||||||
(doom-log "Initializing straight")
|
(doom-log "Initializing straight")
|
||||||
(setq doom-init-packages-p t)
|
(setq doom-init-packages-p t)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue