1
0
Fork 0
mirror of https://github.com/correl/melpa.git synced 2025-04-02 03:18:09 -09:00

clarify the README a bit

This commit is contained in:
Donald Curtis 2013-03-25 22:55:44 -05:00
parent ab0be98cb9
commit c6160929e1

View file

@ -29,12 +29,21 @@ details.
## Usage
To use the MELPA repository, add it to `package-archives` before the
call to `package-initialize` in your `init.el` file.
To use the MELPA repository, add it to `package-archives` after
`(require 'package)` and before the call to `package-initialize` in
your `init.el` file.
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
A complete minimal example for MELPA,
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
(package-initialize)
Since `package.el` doesn't allow locking packages to certain version,
we also provide a package `melpa.el` which contains code to allow
restricting packages to specific repositories. This allows someone to