branch: elpa/moe-theme
commit 2d33f05b185b305c36cc7b69a61adfca7577ceaa
Author: kuanyui <[email protected]>
Commit: kuanyui <[email protected]>
1. Add autoload for package.el 2. Add commentary in moe-theme-pkg.el
---
README.md | 2 +-
moe-dark-theme.el | 5 +++++
moe-light-theme.el | 5 +++++
moe-theme-pkg.el | 19 +++++++++++++++++++
4 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 94ebe56d12..ed354993e6 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@
* ......and More!
## Requirements
-* Emacs 24 or above (CLI, that is `emacs -nw`)
+* Emacs 24 or above.
* 256-colors (or higher) terminal.
## Install
diff --git a/moe-dark-theme.el b/moe-dark-theme.el
index 99d2c6967c..b6dd7e5513 100644
--- a/moe-dark-theme.el
+++ b/moe-dark-theme.el
@@ -383,6 +383,11 @@ Moe, moe, chew!")
(set-background-color "#303030")
(set-foreground-color "#c6c6c6")))
+;;;###autoload
+(when load-file-name
+ (add-to-list 'custom-theme-load-path
+ (file-name-as-directory (file-name-directory load-file-name))))
+
(provide-theme 'moe-dark)
;; Local Variables:
diff --git a/moe-light-theme.el b/moe-light-theme.el
index 5a36297437..266e328ecc 100644
--- a/moe-light-theme.el
+++ b/moe-light-theme.el
@@ -382,6 +382,11 @@ Moe, moe, chew!")
(set-background-color "#ffffd7")
(set-foreground-color "#5f5f5f")))
+;;;###autoload
+(when load-file-name
+ (add-to-list 'custom-theme-load-path
+ (file-name-as-directory (file-name-directory load-file-name))))
+
(provide-theme 'moe-light)
;; Local Variables:
diff --git a/moe-theme-pkg.el b/moe-theme-pkg.el
index 069774c6d5..a16add87a1 100644
--- a/moe-theme-pkg.el
+++ b/moe-theme-pkg.el
@@ -1 +1,20 @@
+;;; moe-theme --- A colorful eye-candy theme. Moe, moe, chu!
+
+;; This program is not part of GNU Emacs.
+;; But it is distributed under GPL v3 :-)
+;; Author: kuanyui <[email protected]>
+
+;;; Commentary:
+
+;; You can take a look at screenshots and more details on:
+;; https://github.com/kuanyui/moe-theme.el
+
+;; Usage:
+
+;; Add you to your .emacs:
+
+;;
+;; (load-theme 'moe-dark t)
+;;
+
(define-package "moe-theme" "SNAPSHOT" "A colorful eye-candy theme. Moe, moe,
chu!" nil)