Note instructions for using melpa-stable in getting-started.html

Closes #1914
This commit is contained in:
Steve Purcell 2014-08-08 08:51:10 +01:00
parent 2667829dfc
commit 9b3d1ff54d

View file

@ -2,12 +2,22 @@
<section> <section>
<a name="installing"></a> <a name="installing"></a>
<h2>Installing</h2> <h2>Installing</h2>
<p>To add the repository put this before the call to <code>package-initialize</code> in your <code>init.el</code> file.</p> <p>
To add the snapshot package repository put this before the
call to <code>package-initialize</code> in
your <code>init.el</code> file.
</p>
<pre><code>(require 'package) <pre><code>(require 'package)
(add-to-list 'package-archives (add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)</code></pre> '("melpa" . "http://melpa.milkbox.net/packages/") t)</code></pre>
<p>or to add the stable package repository, use this snippet:</p>
<pre><code>(require 'package)
(add-to-list 'package-archives
'("melpa-stable" . "http://melpa-stable.milkbox.net/packages/") t)</code></pre>
<p>In Emacs &lt; 24, you'll also need to explicitly include the GNU <p>In Emacs &lt; 24, you'll also need to explicitly include the GNU
ELPA archive, which provides important compatibility libraries like <code>cl-lib</code>:</p> ELPA archive, which provides important compatibility libraries like <code>cl-lib</code>:</p>
<pre><code>(when (< emacs-major-version 24) <pre><code>(when (< emacs-major-version 24)