Load solarized theme earlier

This commit is contained in:
syl20bnr 2014-09-06 04:55:36 -04:00
parent d806ac90ff
commit 757a347528

View file

@ -4,6 +4,7 @@
(defvar spacemacs-pre-extensions (defvar spacemacs-pre-extensions
'( '(
use-package use-package
solarized-theme
)) ))
;; Pre extensions are loaded *after* the packages ;; Pre extensions are loaded *after* the packages
@ -17,7 +18,6 @@
nose nose
o-blog o-blog
pylookup pylookup
solarized-theme
)) ))
;; Initialize the extensions ;; Initialize the extensions
@ -98,6 +98,10 @@
(add-hook 'kill-emacs-hook 'emacs-save-layout) (add-hook 'kill-emacs-hook 'emacs-save-layout)
(add-hook 'after-init-hook 'emacs-load-layout t)))) (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 () (defun spacemacs/init-solarized-theme ()
;; different method used than the documented one in order to speed up the ;; different method used than the documented one in order to speed up the
;; loading of emacs ;; loading of emacs