branch: elpa/moe-theme
commit 5c471a513ab6e82b1aa0db75b6d54b52e1f17345
Author: kuanyui <[email protected]>
Commit: kuanyui <[email protected]>
1. Fix autoload.
---
moe-dark-theme.el | 5 -----
moe-light-theme.el | 5 -----
moe-theme-pkg.el | 7 +++++++
3 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/moe-dark-theme.el b/moe-dark-theme.el
index b6dd7e5513..99d2c6967c 100644
--- a/moe-dark-theme.el
+++ b/moe-dark-theme.el
@@ -383,11 +383,6 @@ 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 266e328ecc..5a36297437 100644
--- a/moe-light-theme.el
+++ b/moe-light-theme.el
@@ -382,11 +382,6 @@ 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 a16add87a1..2de48ad665 100644
--- a/moe-theme-pkg.el
+++ b/moe-theme-pkg.el
@@ -17,4 +17,11 @@
;; (load-theme 'moe-dark t)
;;
+
+;;;###autoload
+(when load-file-name
+ (add-to-list 'custom-theme-load-path
+ (file-name-as-directory (file-name-directory load-file-name))))
+
+
(define-package "moe-theme" "SNAPSHOT" "A colorful eye-candy theme. Moe, moe,
chu!" nil)