From ccbd98e30d95496e3c12280a9c99bb98f101ed05 Mon Sep 17 00:00:00 2001 From: larstvei Date: Sat, 15 Nov 2014 23:47:45 +0100 Subject: [PATCH] Updated README with installation instructions. --- README.md | 25 +++++++++++++++++++++++++ try.el | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/README.md b/README.md index bcdf21e..4909f1b 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,17 @@ the content, without storing the file. Packages from ELPA will temporarily be stored in `/tmp/` by default. +## Installation + +You can install Try using elpa. + +It's available on [marmalade](http://marmalade-repo.org/) and +[melpa](http://melpa.milkbox.net/): + +``` +M-x package-install try +``` + ## Usage Remember to make packages from your `package-archives` available for @@ -15,6 +26,20 @@ download with M-x package-refresh-contents ``` +if you haven't already. + +Then to try out a package you can run + +``` +M-x try RET some-package +``` + +Or if you want to try out some package from the web, just paste in the URL + +``` +M-x try RET https://url.com/to/some/file.el +``` + ### Example If you for instance have [melpa](http://melpa.org/) in your diff --git a/try.el b/try.el index b125e98..cccbacc 100644 --- a/try.el +++ b/try.el @@ -34,6 +34,17 @@ ;; Packages from ELPA will temporarily be stored in `/tmp/` by default. +;; ## Installation + +;; You can install Try using elpa. + +;; It's available on [marmalade](http://marmalade-repo.org/) and +;; [melpa](http://melpa.milkbox.net/): + +;; ``` +;; M-x package-install try +;; ``` + ;; ## Usage ;; Remember to make packages from your `package-archives` available for @@ -43,6 +54,20 @@ ;; M-x package-refresh-contents ;; ``` +;; if you haven't already. + +;; Then to try out a package you can run + +;; ``` +;; M-x try RET some-package +;; ``` + +;; Or if you want to try out some package from the web, just paste in the URL + +;; ``` +;; M-x try RET https://url.com/to/some/file.el +;; ``` + ;; ### Example ;; If you for instance have [melpa](http://melpa.org/) in your