Fix doom//packages-update not updating dependencies

This commit is contained in:
Henrik Lissner 2018-02-11 16:13:15 -05:00
parent 400c7cbfa4
commit 57b2b5c546
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -140,16 +140,15 @@ Used by `doom//packages-update'."
(require 'async) (require 'async)
(let (quelpa-pkgs elpa-pkgs) (let (quelpa-pkgs elpa-pkgs)
;; Separate quelpa from elpa packages ;; Separate quelpa from elpa packages
(dolist (pkg (doom-get-packages t)) (dolist (pkg (mapcar #'car package-alist))
(let ((sym (car pkg))) (when (and (or (not (doom-package-prop pkg :freeze))
(when (and (or (not (doom-package-prop sym :freeze))
include-frozen-p) include-frozen-p)
(not (doom-package-prop sym :ignore)) (not (doom-package-prop pkg :ignore))
(not (doom-package-different-backend-p sym))) (not (doom-package-different-backend-p pkg)))
(push sym (push pkg
(if (eq (doom-package-backend sym) 'quelpa) (if (eq (doom-package-backend pkg) 'quelpa)
quelpa-pkgs quelpa-pkgs
elpa-pkgs))))) elpa-pkgs))))
;; The bottleneck in this process is quelpa's version checks, so check them ;; The bottleneck in this process is quelpa's version checks, so check them
;; asynchronously. ;; asynchronously.
(let (futures) (let (futures)