Only add solarized to color-themes list if color-themes is bound
This commit is contained in:
parent
890e5a3dd1
commit
c44d42eff7
|
@ -30,10 +30,11 @@ Ported to Emacs by Greg Pfeil, http://ethanschoonover.com/solarized."
|
|||
(color-theme-install
|
||||
`(color-theme-solarized () () ,@(solarized-color-definitions))))
|
||||
|
||||
(add-to-list 'color-themes
|
||||
`(color-theme-solarized
|
||||
"Solarized"
|
||||
,solarized-description))
|
||||
(when (boundp 'color-themes)
|
||||
(add-to-list 'color-themes
|
||||
`(color-theme-solarized
|
||||
"Solarized"
|
||||
,solarized-description)))
|
||||
|
||||
;;;###autoload
|
||||
(defun color-theme-solarized-dark ()
|
||||
|
|
Loading…
Reference in New Issue