Permalink
Browse files

Add missing require and package dependency for color-theme

This commit allows color-theme to be automatically installed
when color-theme-heroku is installed.

It also autoloads the 'color-theme-heroku function so that users
do not need to explicitly require 'color-theme-heroku first.
  • Loading branch information...
1 parent 58a5c12 commit ead6736c4b84a800eda03760a52da510f3793cdd @purcell purcell committed Apr 1, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 color-theme-heroku.el
View
4 color-theme-heroku.el
@@ -8,13 +8,17 @@
;; Author: Jonathan Chu <jonathan.chu@me.com>
;; URL: https://github.com/jonathanchu/color-theme-heroku
;; Version: 1.0.0
+;; Package-Requires: ((color-theme "6.6.1"))
;;
;; Installation (Emacs 23 and below)
;; 1. Install the color-theme package
;; (http://www.emacswiki.org/cgi-bin/wiki/ColorTheme)
;; 2. Load this file i.e. (load-file "~/.emacs.d/vendor/custom-color-themes/color-theme-heroku.el")
;; 3. (color-theme-heroku)
+(require 'color-theme)
+
+;;;###autoload
(defun color-theme-heroku ()
(interactive)
(color-theme-install

0 comments on commit ead6736

Please sign in to comment.