Install dotfile earlier

This commit is contained in:
Eivind Fonn 2016-11-04 16:52:09 +01:00 committed by syl20bnr
parent c379cd46cd
commit 24c3859d1e
2 changed files with 2 additions and 5 deletions

View File

@ -155,10 +155,7 @@ the final step of executing code in `emacs-startup-hook'.")
(defun spacemacs/maybe-install-dotfile ()
"Install the dotfile if it does not exist."
(unless (file-exists-p dotspacemacs-filepath)
(spacemacs-buffer/set-mode-line "Dotfile wizard installer")
(spacemacs//redisplay)
(when (dotspacemacs/install 'with-wizard)
(configuration-layer/sync))))
(dotspacemacs/install 'with-wizard)))
(defun spacemacs/display-and-copy-version ()
"Echo the current spacemacs version and copy it."

View File

@ -26,8 +26,8 @@
(load-file (concat (file-name-directory load-file-name)
"core/core-load-paths.el"))
(require 'core-spacemacs)
(spacemacs/init)
(spacemacs/maybe-install-dotfile)
(spacemacs/init)
(configuration-layer/sync)
(spacemacs-buffer/display-startup-note)
(spacemacs/setup-startup-hook)