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

@ -131,7 +131,8 @@ them."
(cl-loop for key being the hash-keys of doom-modules
for path = (doom-module-path (car key) (cdr key) "packages.el")
do (let ((doom--current-module key)) (_load path t)))
(_load private-packages t))))))))
(_load private-packages t)
(setq doom-packages (reverse doom-packages)))))))))
;;