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 GitHub
parent 5b7d6763f8
commit 5a92e1b94a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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