mirror of
https://github.com/larstvei/Try.git
synced 2024-11-26 03:28:31 +00:00
Added README to commentary.
This commit is contained in:
parent
48b92fd6af
commit
d0e1e8d366
45
try.el
45
try.el
@ -3,8 +3,10 @@
|
|||||||
;; Copyright (C) 2014 Lars Tveito.
|
;; Copyright (C) 2014 Lars Tveito.
|
||||||
|
|
||||||
;; Author: Lars Tveito <larstvei@ifi.uio.no>
|
;; Author: Lars Tveito <larstvei@ifi.uio.no>
|
||||||
;; Created: 13th November 2014
|
|
||||||
;; URL: http://github.com/larstvei/try
|
;; URL: http://github.com/larstvei/try
|
||||||
|
;; Created: 13th November 2014
|
||||||
|
;; Keywords: packages
|
||||||
|
;; Version: 0.0.1
|
||||||
|
|
||||||
;; Contains code from GNU Emacs <https://www.gnu.org/software/emacs/>,
|
;; Contains code from GNU Emacs <https://www.gnu.org/software/emacs/>,
|
||||||
;; released under the GNU General Public License version 3 or later.
|
;; released under the GNU General Public License version 3 or later.
|
||||||
@ -21,6 +23,47 @@
|
|||||||
;; You should have received a copy of the GNU General Public License along
|
;; You should have received a copy of the GNU General Public License along
|
||||||
;; with Try. If not, see <http://www.gnu.org/licenses/>.
|
;; with Try. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
;;; Commentary:
|
||||||
|
|
||||||
|
;; # Try
|
||||||
|
|
||||||
|
;; Try is a packages that allow you to try out Emacs packages without
|
||||||
|
;; installing them. If you pass a URL to a plain-text `.el`-file it evaluates
|
||||||
|
;; the content, without storing the file.
|
||||||
|
|
||||||
|
;; Packages from ELPA will temporarily be stored in `/tmp/` by default.
|
||||||
|
|
||||||
|
;; ## Usage
|
||||||
|
|
||||||
|
;; Remember to make packages from your `package-archives` available for
|
||||||
|
;; download with
|
||||||
|
|
||||||
|
;; ```
|
||||||
|
;; M-x package-refresh-contents
|
||||||
|
;; ```
|
||||||
|
|
||||||
|
;; ### Example
|
||||||
|
|
||||||
|
;; If you for instance have [melpa](http://melpa.org/) in your
|
||||||
|
;; `package-archives` you can try
|
||||||
|
;; [multiple cursors](https://github.com/magnars/multiple-cursors.el) by
|
||||||
|
;; running:
|
||||||
|
|
||||||
|
;; ```
|
||||||
|
;; M-x try RET multiple-cursors RET
|
||||||
|
;; ```
|
||||||
|
|
||||||
|
;; If you on the other hand want to test out a single `.el`-file from somewhere
|
||||||
|
;; you can simply insert an URL. Trying out
|
||||||
|
;; [Leuven-theme](https://github.com/fniessen/emacs-leuven-theme) can be done
|
||||||
|
;; by running:
|
||||||
|
|
||||||
|
;; ```
|
||||||
|
;; M-x try RET https://raw.githubusercontent.com/fniessen/emacs-leuven-theme/master/leuven-theme.el RET
|
||||||
|
;; ```
|
||||||
|
|
||||||
|
;; Unfortunately, you won't be able to try Try with `M-x try RET try`.
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(require 'package)
|
(require 'package)
|
||||||
(require 'url)
|
(require 'url)
|
||||||
|
Loading…
Reference in New Issue
Block a user