Fix 'not installed' errors for built-in packages #288

Caused by doom-package-backend not taking into account that a package
could be built-in. Derp!
This commit is contained in:
Henrik Lissner 2017-12-22 04:02:47 -05:00
parent 961a55e764
commit 98e324b785
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -170,7 +170,8 @@ Used by `doom//packages-autoremove'."
(append (mapcar #'car doom-packages) doom-core-packages)))
(append (package--removable-packages)
(cl-loop for pkg in package-selected-packages
if (doom-package-different-backend-p pkg)
if (and (doom-package-different-backend-p pkg)
(not (package-built-in-p pkg)))
collect pkg))))
;;;###autoload