From 24c3859d1eaad5b4b47c484b5d7bdd60ab02a520 Mon Sep 17 00:00:00 2001 From: Eivind Fonn Date: Fri, 4 Nov 2016 16:52:09 +0100 Subject: [PATCH] Install dotfile earlier --- core/core-spacemacs.el | 5 +---- init.el | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/core/core-spacemacs.el b/core/core-spacemacs.el index ac75288e1..4aaf82243 100644 --- a/core/core-spacemacs.el +++ b/core/core-spacemacs.el @@ -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." diff --git a/init.el b/init.el index df40ab963..44625835d 100644 --- a/init.el +++ b/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)