From 48b92fd6afdc39b52ed3967596ad3f032b3a0f89 Mon Sep 17 00:00:00 2001 From: larstvei Date: Fri, 14 Nov 2014 23:27:23 +0100 Subject: [PATCH] Added metadata and autoload. --- try.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/try.el b/try.el index 7f16c97..a752652 100644 --- a/try.el +++ b/try.el @@ -3,6 +3,8 @@ ;; Copyright (C) 2014 Lars Tveito. ;; Author: Lars Tveito +;; Created: 13th November 2014 +;; URL: http://github.com/larstvei/try ;; Contains code from GNU Emacs , ;; released under the GNU General Public License version 3 or later. @@ -19,6 +21,7 @@ ;; You should have received a copy of the GNU General Public License along ;; with Try. If not, see . +;;; Code: (require 'package) (require 'url) @@ -42,6 +45,7 @@ "Compose two functions." (lambda (&rest x) (funcall f (apply g x)))) +;;;###autoload (defun try () "Try out a package from your `package-archives' or pass a URL to a raw .el file. Packages are stored in `try-tmp-dir' and raw @@ -61,3 +65,5 @@ to a raw .el file. Packages are stored in `try-tmp-dir' and raw "Try running `package-refresh-contents'!")))))) (provide 'try) + +;;; try.el ends here.