summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-11-12 10:15:40 +0100
committerStefan Kangas <stefankangas@gmail.com>2022-11-15 08:54:56 +0100
commit6a26c55d70a653af8606166d2b24b2c1516647dc (patch)
treeeb727547b179d0d537754a513267464d758810fa
parentae301ad36d6c0b5a10dceb35778c5a66617a8d9e (diff)
downloademacs-6a26c55d70a653af8606166d2b24b2c1516647dc.tar.gz
Recommend GNU ELPA over MELPA
-rw-r--r--doc/misc/use-package.texi43
1 files changed, 10 insertions, 33 deletions
diff --git a/doc/misc/use-package.texi b/doc/misc/use-package.texi
index 2b868564372..de6351c592f 100644
--- a/doc/misc/use-package.texi
+++ b/doc/misc/use-package.texi
@@ -67,7 +67,7 @@ around 2 seconds, with no loss of functionality!
Installation
-* Installing from an Elpa Archive::
+* Installing from GNU ELPA::
* Installing from the Git Repository::
* Post-Installation Tasks::
@@ -119,50 +119,27 @@ use-package can be installed using Emacs' package manager or manually from
its development repository.
@menu
-* Installing from an Elpa Archive::
+* Installing from GNU ELPA::
* Installing from the Git Repository::
* Post-Installation Tasks::
@end menu
-@node Installing from an Elpa Archive
-@section Installing from an Elpa Archive
+@node Installing from GNU ELPA
+@section Installing from GNU ELPA
-use-package is available from Melpa and Melpa-Stable. If you haven't used
-Emacs' package manager before, then it is high time you familiarize yourself
+use-package is available from GNU ELPA. If you haven't used Emacs'
+package manager before, then it is high time you familiarize yourself
with it by reading the documentation in the Emacs manual, see
-@ref{Packages,,,emacs,}. Then add one of the archives to @code{package-archives}:
+@ref{Packages,,,emacs,}.
-@itemize
-@item
-To use Melpa:
-@end itemize
-
-@lisp
-(require 'package)
-(add-to-list 'package-archives
- '("melpa" . "https://melpa.org/packages/") t)
-@end lisp
-
-@itemize
-@item
-To use Melpa-Stable:
-@end itemize
-
-@lisp
-(require 'package)
-(add-to-list 'package-archives
- '("melpa-stable" . "https://stable.melpa.org/packages/") t)
-@end lisp
-
-Once you have added your preferred archive, you need to update the
-local package list using:
+First, you need to update the local package list using:
@example
M-x package-refresh-contents RET
@end example
-Once you have done that, you can install use-package and its dependencies
-using:
+Once you have done that, you can install use-package and its
+dependencies using:
@example
M-x package-install RET use-package RET