diff --git a/README.md b/README.md index 05a6d39..8a172e5 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,6 @@ The [Emacs-only repository] is kept in sync with the main [Solarized repository] [Solarized homepage]: http://ethanschoonover.com/solarized [Solarized repository]: https://github.com/altercation/solarized [Emacs-only repository]: https://github.com/sellout/emacs-color-theme-solarized -[color-theme]: http://www.nongnu.org/color-theme Installation & Usage -------------------- @@ -37,13 +36,6 @@ Installation & Usage 2. Add `(load-theme 'solarized t)` to your Emacs init file. 3. Reload the init file, or restart Emacs. -### [color-theme] \(pre-Emacs 24\) - -1. Download and install [color-theme]. -2. Add the `emacs-color-theme-solarized` directory to your Emacs `load-path`. -3. Add `(require 'color-theme-solarized)` and `(color-theme-solarized)` to your Emacs init file (usually `~/.emacs`). -3. Reload the init file, or restart Emacs. - ### all versions To switch between the light and dark variations of Solarized, set the frame’s `background-mode`. This can be accomplished globally using `M-x customize-variable frame-background-mode` or on a per-frame basis with `(set-frame-parameter nil 'background-mode 'light)` (or `'dark`). If you're in a terminal, you must also set the terminal parameter with `(set-terminal-parameter nil 'background-mode 'light)` (or `'dark`). Remember to call `enable-theme` after changing the background mode to update the state of the theme. @@ -180,7 +172,6 @@ matched in sRGB space. Here are some things to keep in mind when submitting a bug report: * include the output of `M-x version` in your report, -* mention whether you’re using color-theme or the Emacs 24 theme, * include the names of Emacs faces that you have a problem with (`M-: (face-at-point)` and `M-x describe-face` will tell you the name of the face at point), * include the output of `M-: (display-color-cells)` (that lets us know which set of colors your Emacs is using), * screenshots are very helpful (before and after if you made a change), diff --git a/color-theme-solarized-pkg.el b/color-theme-solarized-pkg.el index 850550e..bc9f633 100644 --- a/color-theme-solarized-pkg.el +++ b/color-theme-solarized-pkg.el @@ -1 +1 @@ -(define-package "color-theme-solarized" "%%version%%" "Solarized themes for Emacs" '((color-theme "6.5.5"))) +(define-package "color-theme-solarized" "%%version%%" "Solarized theme for Emacs") diff --git a/color-theme-solarized.el b/color-theme-solarized.el deleted file mode 100644 index 16aaa3e..0000000 --- a/color-theme-solarized.el +++ /dev/null @@ -1,52 +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 - -(let ((current-file-name (or load-file-name buffer-file-name))) - (if current-file-name - (let* ((reqname (concat (file-name-directory current-file-name) - "solarized-definitions.el")) - (compreqname (concat reqname "c"))) - (require 'solarized-definitions - (if (file-exists-p compreqname) compreqname reqname))) - (require 'solarized-definitions))) - -(eval-when-compile - (require 'color-theme)) - -;;;###autoload -(defun color-theme-solarized () - "Color theme by Ethan Schoonover, created 2011-03-24. -Ported to Emacs by Greg Pfeil, http://ethanschoonover.com/solarized." - (interactive) - (color-theme-install - `(color-theme-solarized () () ,@(solarized-color-definitions)))) - -(when (boundp 'color-themes) - (add-to-list 'color-themes - `(color-theme-solarized - "Solarized" - ,solarized-description))) - -;;;###autoload -(defun color-theme-solarized-dark () - "Color theme by Ethan Schoonover, created 2011-03-24. -Ported to Emacs by Greg Pfeil, http://ethanschoonover.com/solarized." - (declare (obsolete color-theme-solarized "2013-05-01")) - (color-theme-solarized)) -;;;###autoload -(defun color-theme-solarized-light () - "Color theme by Ethan Schoonover, created 2011-03-24. -Ported to Emacs by Greg Pfeil, http://ethanschoonover.com/solarized." - (declare (obsolete color-theme-solarized "2013-05-01")) - (color-theme-solarized)) - -(provide 'color-theme-solarized)