mirror of
https://github.com/correl/melpa.git
synced 2025-04-13 09:11:07 -09:00
clarify the README a bit
This commit is contained in:
parent
ab0be98cb9
commit
c6160929e1
1 changed files with 11 additions and 2 deletions
13
README.md
13
README.md
|
@ -29,12 +29,21 @@ details.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
To use the MELPA repository, add it to `package-archives` before the
|
To use the MELPA repository, add it to `package-archives` after
|
||||||
call to `package-initialize` in your `init.el` file.
|
`(require 'package)` and before the call to `package-initialize` in
|
||||||
|
your `init.el` file.
|
||||||
|
|
||||||
(add-to-list 'package-archives
|
(add-to-list 'package-archives
|
||||||
'("melpa" . "http://melpa.milkbox.net/packages/") t)
|
'("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,
|
Since `package.el` doesn't allow locking packages to certain version,
|
||||||
we also provide a package `melpa.el` which contains code to allow
|
we also provide a package `melpa.el` which contains code to allow
|
||||||
restricting packages to specific repositories. This allows someone to
|
restricting packages to specific repositories. This allows someone to
|
||||||
|
|
Loading…
Add table
Reference in a new issue