Install/compile packages in order of declaration

This should fix an issue where a package A, which uses macros from a
package B, is installed before package B, causing void-function errors.

The currently known and affected packages are neotree, parinfer, and
evil-collection.
This commit is contained in:
Henrik Lissner 2018-09-25 10:31:52 -04:00
parent 271e7689ae
commit 377dbae3fc
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 11 additions and 11 deletions

View file

@ -26,7 +26,7 @@
(defun doom-packages-install (&optional auto-accept-p)
"Interactive command for installing missing packages."
(print! "Looking for packages to install...")
(let ((packages (reverse (doom-get-missing-packages))))
(let ((packages (doom-get-missing-packages)))
(cond ((not packages)
(print! (green "No packages to install!"))
nil)