src.nth.io/

summaryrefslogtreecommitdiff
path: root/thirdparty/color-theme-solarized/color-theme-solarized.el
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2013-06-24 21:39:26 -0500
committerLuke Hoersten <[email protected]>2013-06-24 21:39:26 -0500
commit634408264c7b3a5b10b20af5ea597068474d37eb (patch)
tree13eef5e3eb5e00f20f55467507f2f1a5c58512a7 /thirdparty/color-theme-solarized/color-theme-solarized.el
parentabcf074e2faa45b0c697071fd76e807ddb91001a (diff)
Updated to emacs24 with package management and load-theme
Diffstat (limited to 'thirdparty/color-theme-solarized/color-theme-solarized.el')
-rw-r--r--thirdparty/color-theme-solarized/color-theme-solarized.el56
1 files changed, 0 insertions, 56 deletions
diff --git a/thirdparty/color-theme-solarized/color-theme-solarized.el b/thirdparty/color-theme-solarized/color-theme-solarized.el
deleted file mode 100644
index e95b782..0000000
--- a/thirdparty/color-theme-solarized/color-theme-solarized.el
+++ /dev/null
@@ -1,56 +0,0 @@
-;;; Author: Ethan Schoonover, Solarized; Greg Pfeil, Emacs adaptation
-;;; URL: http://ethanschoonover.com/solarized
-
-;;; This file is not (YET) part of GNU Emacs.
-
-;;; # Usage
-
-;;; 1. Install the color-theme package
-;;; (http://www.emacswiki.org/cgi-bin/wiki/ColorTheme)
-;;; 2. Load this file
-;;; 3. M-x color-theme-solarized-[dark|light]
-
-(require 'solarized-definitions
- (let* ((reqname (concat (file-name-directory (or load-file-name
- buffer-file-name))
- "solarized-definitions.el"))
- (compreqname (concat reqname "c")))
- (if (file-exists-p compreqname) compreqname reqname)))
-
-(eval-when-compile
- (require 'color-theme))
-
-;;;###autoload
-(defun color-theme-solarized (mode)
- "Color theme by Ethan Schoonover, created 2011-03-24.
-Ported to Emacs by Greg Pfeil, http://ethanschoonover.com/solarized."
- (interactive "Slight or dark? ")
- (color-theme-install
- (let* ((definitions (solarized-color-definitions mode))
- (faces (first definitions))
- (variables (second definitions)))
- (solarized-color-definitions mode)
- `(,(intern (concat "color-theme-solarized-" (symbol-name mode)))
- ,variables
- ,@faces))))
-
-;;;###autoload
-(defun color-theme-solarized-dark ()
- (interactive)
- (color-theme-solarized 'dark))
-
-;;;###autoload
-(defun color-theme-solarized-light ()
- (interactive)
- (color-theme-solarized 'light))
-
-(add-to-list 'color-themes
- `(color-theme-solarized-light
- "Solarized Light"
- ,solarized-description))
-(add-to-list 'color-themes
- `(color-theme-solarized-dark
- "Solarized Dark"
- ,solarized-description))
-
-(provide 'color-theme-solarized)