From 8a6be64e30f656a9d3ec0c65e39f7ad4d8ce3f84 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 25 Apr 2012 01:03:42 +0200 Subject: emacs.d/lisp: fix color-themes setup --- emacs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'emacs') diff --git a/emacs b/emacs index c57fccc..056d6dc 100644 --- a/emacs +++ b/emacs @@ -12,10 +12,11 @@ (nconc load-path orig-load-path)) ;; load own color theme -(require 'color-themes-alex) -(if (not window-system) - (color-theme-alex-console) - (color-theme-alex)) +(when (require 'color-theme nil 'noerror) + (color-theme-initialize) + (if (not window-system) + (color-theme-alex-console) + (color-theme-alex))) ;; user settings (setq user-full-name "Alexander Sulfrian" -- cgit v1.2.3