[Core] *core-spacemacs.el: fix default-path for compiling built-in libs

This commit is contained in:
Lin Sun 2021-01-20 08:14:15 +08:00 committed by Eugene Yaremenko
parent 981621e000
commit ba9e0afa34
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ the final step of executing code in `emacs-startup-hook'.")
(dotspacemacs/call-user-env)
(spacemacs/load-spacemacs-env))
;; Ensure that `spacemacs-compiled-files' are compiled.
(let ((default-directory user-emacs-directory))
(let ((default-directory spacemacs-start-directory))
(spacemacs//ensure-compilation spacemacs-compiled-files))
;; install the dotfile if required
(dotspacemacs/maybe-install-dotfile))