]> code.delx.au - gnu-emacs-elpa/commitdiff
Add proper auto load comment/code in the theme file
authorMatthew Carter <m@ahungry.com>
Fri, 6 Feb 2015 14:44:14 +0000 (09:44 -0500)
committerMatthew Carter <m@ahungry.com>
Fri, 6 Feb 2015 14:44:14 +0000 (09:44 -0500)
ahungry-theme-autoloads.el [deleted file]
ahungry-theme.el

diff --git a/ahungry-theme-autoloads.el b/ahungry-theme-autoloads.el
deleted file mode 100644 (file)
index 36923e1..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-;;; ahungry-theme-autoloads.el --- automatically extracted autoloads
-;;
-;;; Code:
-(add-to-list 'load-path (or (file-name-directory #$) (car load-path)))
-(when (boundp 'custom-theme-load-path)
-  (add-to-list 'custom-theme-load-path (or (file-name-directory #$) (car load-path))))
-\f
-;;;### (autoloads nil nil ("ahungry-theme-pkg.el" "ahungry-theme.el"
-;;;;;;  "color-theme-ahungry.el") (21716 20244 379937 516000))
-
-;;;***
-\f
-;; Local Variables:
-;; version-control: never
-;; no-byte-compile: t
-;; no-update-autoloads: t
-;; End:
-;;; ahungry-theme-autoloads.el ends here
index 5ed8ffe50a09cc07b3e4cf236f6201d3e81a0f60..b513c9a3c1a3f4694f594216aa6b1d1014a7d45d 100644 (file)
    '(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