From 5a92e1b94aeaba60149bb150bbadded0a0f5a1bd Mon Sep 17 00:00:00 2001 From: Levin Du Date: Tue, 16 Apr 2024 14:59:04 +0800 Subject: [PATCH] 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. --- lisp/doom-packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/doom-packages.el b/lisp/doom-packages.el index 72d3896b6..90ffb5154 100644 --- a/lisp/doom-packages.el +++ b/lisp/doom-packages.el @@ -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)