mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
Clarify notes about when to use melpa.el (see #1031)
This commit is contained in:
parent
d67f7e69b7
commit
8756b33cbf
1 changed files with 14 additions and 6 deletions
|
@ -15,18 +15,26 @@
|
|||
|
||||
<h3>Customizations</h3>
|
||||
<p>
|
||||
There is currently no way in <code>package.el</code> to
|
||||
exclude or include versions. So to remedy this there is
|
||||
a <code>melpa.el</code> package (available in MELPA) that will
|
||||
allow you to enable only certain packages or exclude certain
|
||||
packages. You can install the package manually by pasting this
|
||||
into your <code>*scratch*</code> buffer and evaluating it.
|
||||
What if you only want some of your packages to be installed
|
||||
from MELPA, and the rest from Marmalade or elsewhere?
|
||||
</p>
|
||||
<p>
|
||||
Only in the very latest Emacs snapshots is there a way to
|
||||
exclude or include versions according to their source
|
||||
(see <code>package-pinned-packages</code>). For all other
|
||||
users, we provide a <code>melpa.el</code> package (available
|
||||
in MELPA) that will allow you to enable only certain packages
|
||||
or exclude certain packages.
|
||||
You can install the package
|
||||
manually by pasting this into your <code>*scratch*</code>
|
||||
buffer and evaluating it.
|
||||
</p>
|
||||
<pre><code>(progn
|
||||
(switch-to-buffer
|
||||
(url-retrieve-synchronously
|
||||
"https://raw.github.com/milkypostman/melpa/master/melpa.el"))
|
||||
(package-install-from-buffer (package-buffer-info) 'single))</code></pre>
|
||||
|
||||
<p>You can then customize two variables:</p>
|
||||
<dl>
|
||||
<dt><code>package-archive-enable-alist</code></dt>
|
||||
|
|
Loading…
Reference in a new issue