fixup color theme in older emacsen
authorJoerg Jaspert <joerg@debian.org>
Wed, 1 May 2013 15:24:19 +0000 (17:24 +0200)
committerJoerg Jaspert <joerg@debian.org>
Wed, 1 May 2013 15:24:19 +0000 (17:24 +0200)
.emacs.d/config/emacs.org

index 55f67da..280702e 100644 (file)
@@ -357,6 +357,13 @@ shell. Consistent look is great.
       )
   (message "Emacs version too old, using old color theme style")
   (add-to-list 'load-path (expand-file-name "emacs-color-theme-solarized" jj-elisp-dir))
       )
   (message "Emacs version too old, using old color theme style")
   (add-to-list 'load-path (expand-file-name "emacs-color-theme-solarized" jj-elisp-dir))
+  (defvar color-theme-directory (expand-file-name "emacs-color-theme-solarized" jj-elisp-dir)
+     "Extra theme directory")
+  (defvar color-theme-load-all-themes nil
+    "When t, load all color-theme theme files as presented by `color-theme-libraries'. Else
+do not load any of this themes.")
+  (if (not (file-exists-p "~/.emacs.d/elisp/local/themes" ))
+    (make-directory "~/.emacs.d/elisp/local/themes"))
   (require 'color-theme)
   (require 'color-theme-solarized)
   (color-theme-initialize)
   (require 'color-theme)
   (require 'color-theme-solarized)
   (color-theme-initialize)