Browse files

clarify the README a bit

  • Loading branch information...
1 parent ab0be98 commit c6160929e1fa52193fb9d4d01bfcbd7c05a5fae8 @milkypostman milkypostman committed Mar 26, 2013
Showing with 11 additions and 2 deletions.
  1. +11 −2
@@ -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" . "") t)
+A complete minimal example for MELPA,
+ (require 'package)
+ (add-to-list 'package-archives
+ '("melpa" . "") 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

0 comments on commit c616092

Please sign in to comment.