Fix package management delete-reinstall loop with quelpa packages
This commit is contained in:
parent
d39f384198
commit
f334a92fdc
1 changed files with 3 additions and 3 deletions
|
@ -146,7 +146,7 @@ Warning: this function is expensive; it re-evaluates all of doom's config files.
|
||||||
Be careful not to use it in a loop.
|
Be careful not to use it in a loop.
|
||||||
|
|
||||||
If INSTALLED-ONLY-P, only return packages that are installed."
|
If INSTALLED-ONLY-P, only return packages that are installed."
|
||||||
(doom-initialize-packages 'internal)
|
(doom-initialize-packages t)
|
||||||
(cl-loop with packages = (append doom-core-packages (mapcar #'car doom-packages))
|
(cl-loop with packages = (append doom-core-packages (mapcar #'car doom-packages))
|
||||||
for sym in (cl-delete-duplicates packages)
|
for sym in (cl-delete-duplicates packages)
|
||||||
if (and (or (not installed-only-p)
|
if (and (or (not installed-only-p)
|
||||||
|
@ -179,7 +179,7 @@ containing (PACKAGE-SYMBOL OLD-VERSION-LIST NEW-VERSION-LIST).
|
||||||
If INCLUDE-FROZEN-P is non-nil, check frozen packages as well.
|
If INCLUDE-FROZEN-P is non-nil, check frozen packages as well.
|
||||||
|
|
||||||
Used by `doom//packages-update'."
|
Used by `doom//packages-update'."
|
||||||
(doom-initialize-packages 'internal)
|
(doom-initialize-packages t)
|
||||||
(require 'async)
|
(require 'async)
|
||||||
(let (quelpa-pkgs elpa-pkgs)
|
(let (quelpa-pkgs elpa-pkgs)
|
||||||
;; Separate quelpa from elpa packages
|
;; Separate quelpa from elpa packages
|
||||||
|
@ -218,7 +218,7 @@ Used by `doom//packages-update'."
|
||||||
depended on.
|
depended on.
|
||||||
|
|
||||||
Used by `doom//packages-autoremove'."
|
Used by `doom//packages-autoremove'."
|
||||||
(doom-initialize-packages 'internal)
|
(doom-initialize-packages t)
|
||||||
(let ((package-selected-packages
|
(let ((package-selected-packages
|
||||||
(append (mapcar #'car doom-packages) doom-core-packages)))
|
(append (mapcar #'car doom-packages) doom-core-packages)))
|
||||||
(append (package--removable-packages)
|
(append (package--removable-packages)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue