Fix incorrect user-emacs-directory when updating packages #190

This commit is contained in:
Henrik Lissner 2017-09-05 12:40:54 +02:00
parent 9e13ce0536
commit 81c54684de
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -153,6 +153,7 @@ Used by `doom/packages-update'."
(debug! "New thread for: %s" part) (debug! "New thread for: %s" part)
(push (async-start (push (async-start
`(lambda () `(lambda ()
(setq user-emacs-directory ,user-emacs-directory)
(let ((noninteractive t)) (let ((noninteractive t))
(load ,(expand-file-name "core.el" doom-core-dir))) (load ,(expand-file-name "core.el" doom-core-dir)))
(delq nil (mapcar #'doom-package-outdated-p ',part)))) (delq nil (mapcar #'doom-package-outdated-p ',part))))