fix: doom-initialize-core-packages: extract plist from alist

The doom-package-list is a list of (module :key value ...). To get the
plist, apply cdr first.
This commit is contained in:
Levin Du 2024-04-16 14:59:04 +08:00 committed by Yann Esposito (Yogsototh)
parent 2305f503f9
commit 5e9e569649
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -256,7 +256,7 @@ uses a straight or package.el command directly).")
(alist-get 'straight packages)
(doom--ensure-straight recipe pin))
(doom--ensure-core-packages
(seq-filter (fn! (eq (plist-get % :type) 'core))
(seq-filter (fn! (eq (plist-get (cdr %) :type) 'core))
packages)))))
(defun doom-initialize-packages (&optional force-p)