Install dotfile earlier
This commit is contained in:
parent
c379cd46cd
commit
24c3859d1e
2 changed files with 2 additions and 5 deletions
|
@ -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."
|
||||
|
|
2
init.el
2
init.el
|
@ -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)
|
||||
|
|
Reference in a new issue