From 757a347528d6acef6dc3b07a3ebd58aa8f6dfb61 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Sat, 6 Sep 2014 04:55:36 -0400 Subject: [PATCH] Load solarized theme earlier --- spacemacs/extensions.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spacemacs/extensions.el b/spacemacs/extensions.el index 175c29f55..4cc886082 100644 --- a/spacemacs/extensions.el +++ b/spacemacs/extensions.el @@ -4,6 +4,7 @@ (defvar spacemacs-pre-extensions '( use-package + solarized-theme )) ;; Pre extensions are loaded *after* the packages @@ -17,7 +18,6 @@ nose o-blog pylookup - solarized-theme )) ;; Initialize the extensions @@ -98,6 +98,10 @@ (add-hook 'kill-emacs-hook 'emacs-save-layout) (add-hook 'after-init-hook 'emacs-load-layout t)))) +;; solarized theme dependencies +(unless (package-installed-p 'dash) + (package-refresh-contents) + (package-install 'dash)) (defun spacemacs/init-solarized-theme () ;; different method used than the documented one in order to speed up the ;; loading of emacs