Fix async package functions not running from right cwd
This commit is contained in:
parent
5048b72c12
commit
9628b21d22
1 changed files with 3 additions and 2 deletions
|
@ -493,7 +493,8 @@ loads MODULE SUBMODULE's packages.el file."
|
|||
t)))
|
||||
|
||||
(defun doom-packages--async-run (fn)
|
||||
(let ((compilation-filter-hook
|
||||
(let* ((default-directory doom-emacs-dir)
|
||||
(compilation-filter-hook
|
||||
(list (lambda () (ansi-color-apply-on-region compilation-filter-start (point))))))
|
||||
(compile (format "%s --quick --batch -l core/core.el -f %s"
|
||||
(executable-find "emacs")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue