Fix rainbow-identifiers faces update when theme is specified in dotfile

This commit is contained in:
sbenner 2014-11-20 16:49:19 -05:00
parent 987871a749
commit 5979724964
2 changed files with 1 additions and 2 deletions

View file

@ -53,7 +53,6 @@ disabling some faces in order to make colored identifiers stand out."
:config
(progn
(syl20bnr/tweak-theme-colors 'solarized-light)
(evil-leader/set-key "tc" 'rainbow-identifiers-mode)
;; functions to change saturation and lightness of colors

View file

@ -75,11 +75,11 @@
(defadvice load-theme (around spacemacs/load-theme-adv activate)
"Perform post load processing."
(let ((theme (ad-get-arg 0)))
(setq spacemacs-cur-theme theme)
(if (and spacemacs-solarized-dark-createdp
(eq 'solarized-dark theme))
(create-solarized-theme 'dark 'solarized-dark))
ad-do-it
(setq spacemacs-cur-theme theme)
(spacemacs/post-theme-init theme)))
(defun spacemacs/post-theme-init (theme)