summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-04-25 01:03:42 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-04-25 01:08:30 +0200
commit8a6be64e30f656a9d3ec0c65e39f7ad4d8ce3f84 (patch)
tree813e6e8f616321f1a85d1f1955dcd35fa0e3b36e /emacs
parent3fad0e74d49268c55361e0a0631c4a7a22ebf407 (diff)
downloaddotfiles-8a6be64e30f656a9d3ec0c65e39f7ad4d8ce3f84.tar.gz
dotfiles-8a6be64e30f656a9d3ec0c65e39f7ad4d8ce3f84.tar.xz
dotfiles-8a6be64e30f656a9d3ec0c65e39f7ad4d8ce3f84.zip
emacs.d/lisp: fix color-themes setup
Diffstat (limited to 'emacs')
-rw-r--r--emacs9
1 files changed, 5 insertions, 4 deletions
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"