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:
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
|
||||
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue