From c44d42eff7a2ee61b1b7191f4ba467612b7c6a13 Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Sun, 21 Feb 2016 16:14:55 -0700 Subject: [PATCH] Only add solarized to color-themes list if color-themes is bound --- color-theme-solarized.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/color-theme-solarized.el b/color-theme-solarized.el index 298ae94..16aaa3e 100644 --- a/color-theme-solarized.el +++ b/color-theme-solarized.el @@ -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 ()