fix: all packages seen as disabled
In v3, doom-module data is stored in symbol plists, but in v2, it's stored in a hash table. Some v3 code snuck into45a66cd
, which made Doom try to read module data from plists that hadn't been initialized yet, so Doom could no longer see your module settings. Fix: #6769 Amend:45a66cda60
This commit is contained in:
parent
7a2fa1e313
commit
c80fa2efdf
1 changed files with 3 additions and 4 deletions
|
@ -463,11 +463,10 @@ ones."
|
|||
(let (doom-packages)
|
||||
(doom--read-packages private-packages nil 'noerror))
|
||||
(cl-loop for key being the hash-keys of doom-modules
|
||||
for plist = (get (car key) (cdr key))
|
||||
for doom--current-flags = (plist-get plist :flags)
|
||||
for path = (doom-module-path (car key) (cdr key) packages-file)
|
||||
for doom--current-module = key
|
||||
for file = (doom-path (plist-get plist :path) packages-file)
|
||||
do (doom--read-packages file nil 'noerror)))
|
||||
for doom--current-flags = (doom-module-get (car key) (cdr key) :flags)
|
||||
do (doom--read-packages path nil 'noerror)))
|
||||
(doom--read-packages private-packages all-p 'noerror)))
|
||||
(cl-remove-if-not
|
||||
(if core-only-p
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue