]> code.delx.au - gnu-emacs-elpa/blobdiff - ahungry-theme.el
Add note in news about what was changed, increment version number of theme
[gnu-emacs-elpa] / ahungry-theme.el
index 556c0089c2c44e688b945bf5fb663cc67902d05e..a5457e2e637541a0137fab9f6fee5553f76cf75a 100644 (file)
@@ -1,11 +1,11 @@
-;;; ahungry-theme.el --- Ahungry color theme for Emacs.
+;;; ahungry-theme.el --- Ahungry color theme for Emacs.  Make sure to (load-theme 'ahungry).
 
 ;; Copyright (C) 2015  Free Software Foundation, Inc.
 
 ;; Author: Matthew Carter <m@ahungry.com>
 ;; Maintainer: Matthew Carter <m@ahungry.com>
 ;; URL: https://github.com/ahungry/color-theme-ahungry
-;; Version: 1.0.3
+;; Version: 1.0.5
 ;; Keywords: ahungry palette color theme emacs color-theme deftheme
 ;; Package-Requires: ((emacs "24"))
 
 ;; transparent background.  If you load it from a GUI, it will default
 ;; to a dark background.
 
+;;; News:
+
+;;;; Changes since 1.0.4:
+;; - Don't circumvent normal autoloads functionality, use the comment load method
+
+;;;; Changes since 1.0.3:
+;; - Manually include an autoloads file to make sure
+;;   custom-theme-load-path is filled out
+;; - Update description to make mention of (load-theme 'ahungry) for new users
+
 ;;; Code:
 
 (deftheme ahungry
    '(org-agenda-date-weekend ((t (:weight normal :foreground "#005fff"))))
    '(org-agenda-date-today ((t (:weight bold :foreground "#ffc800"))))
    '(org-agenda-done ((t (:weight normal :foreground "#00aa33"))))
-   '(org-block-begin-line ((t (:foreground "#bbbbbb" :background "#330066"))))
-   '(org-block-background ((t (:background "#003366"))))
-   '(org-block-end-line ((t (:foreground "#bbbbbb" :background "#330066"))))
+   '(org-block-begin-line ((t (:foreground "#bbbbbb" :background "#333333"))))
+   '(org-block-background ((t (:background "#333333"))))
+   '(org-block-end-line ((t (:foreground "#bbbbbb" :background "#333333"))))
    '(org-document-title ((t (:weight bold :foreground "#0077cc"))))
    '(org-document-info ((t (:weight normal :foreground "#0077cc"))))
    '(org-warning ((t (:weight normal :foreground "#ee0033"))))
    '(red "#ffffff"))
   )
 
+;;;###autoload
+(when (and load-file-name (boundp 'custom-theme-load-path))
+ (add-to-list
+      'custom-theme-load-path
+      (file-name-as-directory (file-name-directory load-file-name))))
+
 (provide-theme 'ahungry)
 
 ;;; ahungry-theme.el ends here