aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Kangas2025-02-13 16:37:51 +0100
committerStefan Kangas2025-02-13 16:42:01 +0100
commitb9b9c33dcbe7fe5ac36da65b351253451064348c (patch)
treea326d145926cd92da853f07965b7278f051cddaf /doc
parent87a61eba1b8287d63b318d4af6ce47169ba574fd (diff)
downloademacs-b9b9c33dcbe7fe5ac36da65b351253451064348c.tar.gz
emacs-b9b9c33dcbe7fe5ac36da65b351253451064348c.zip
Fix (Non)GNU ELPA description in manual
* doc/emacs/package.texi (Packages): Move detailed (Non)GNU ELPA description... (Package Installation): ...here, and fix incorrect information.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/package.texi35
1 files changed, 19 insertions, 16 deletions
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi
index 42ac383e6a7..9b6f7cd8f31 100644
--- a/doc/emacs/package.texi
+++ b/doc/emacs/package.texi
@@ -39,16 +39,9 @@ attributes of the package and the features that it implements.
39@cindex NonGNU ELPA 39@cindex NonGNU ELPA
40 By default, Emacs downloads packages from two archives: 40 By default, Emacs downloads packages from two archives:
41@url{https://elpa.gnu.org/, GNU ELPA} and @url{https://elpa.nongnu.org/, 41@url{https://elpa.gnu.org/, GNU ELPA} and @url{https://elpa.nongnu.org/,
42NonGNU ELPA}. These are maintained by the Emacs developers and hosted by 42NonGNU ELPA}. These are maintained by the Emacs developers and hosted
43the GNU project. @dfn{GNU ELPA} contains GNU packages that we consider 43by the GNU project. Optionally, you can also download packages from
44part of GNU Emacs, but are distributed separately from the core Emacs. 44third-party archives. @xref{Package Installation}.
45@dfn{NonGNU ELPA} contains third-party packages whose copyright has not
46been assigned to the Free Software Foundation.@footnote{For more
47information about copyright assignments, see
48@url{https://www.gnu.org/licenses/why-assign.html, Why the FSF Gets
49Copyright Assignments from Contributors}.} Optionally, you can also
50download packages from third-party archives. @xref{Package
51Installation}.
52 45
53 For information about turning an Emacs Lisp program into an 46 For information about turning an Emacs Lisp program into an
54installable package, @xref{Packaging,,,elisp, The Emacs Lisp Reference 47installable package, @xref{Packaging,,,elisp, The Emacs Lisp Reference
@@ -407,12 +400,22 @@ package is somehow unavailable, Emacs signals an error and stops
407installation.) A package's requirements list is shown in its help 400installation.) A package's requirements list is shown in its help
408buffer. 401buffer.
409 402
410 By default, packages are downloaded from a single package archive 403 By default, Emacs downloads packages from two archives:
411maintained by the Emacs developers. This is controlled by the 404@url{https://elpa.gnu.org/, GNU ELPA} and @url{https://elpa.nongnu.org/,
412variable @code{package-archives}, whose value is a list of package 405NonGNU ELPA}. These are maintained by the Emacs developers and hosted
413archives known to Emacs. Each list element must have the form 406by the GNU project. @dfn{GNU ELPA} contains GNU packages that we
414@code{(@var{id} . @var{location})}, where @var{id} is the name of a 407consider part of GNU Emacs, but are distributed separately from the core
415package archive and @var{location} is the @acronym{URL} or 408Emacs. @dfn{NonGNU ELPA} contains third-party packages whose copyright
409has not been assigned to the Free Software Foundation.@footnote{For more
410information about copyright assignments, see
411@url{https://www.gnu.org/licenses/why-assign.html, Why the FSF Gets
412Copyright Assignments from Contributors}.}
413
414@noindent
415This is controlled by the variable @code{package-archives}, whose value
416is a list of package archives known to Emacs. Each list element must
417have the form @code{(@var{id} . @var{location})}, where @var{id} is the
418name of a package archive and @var{location} is the @acronym{URL} or
416name of the package archive directory. You can alter this list if you 419name of the package archive directory. You can alter this list if you
417wish to use third party package archives---but do so at your own risk, 420wish to use third party package archives---but do so at your own risk,
418and use only third parties that you think you can trust! 421and use only third parties that you think you can trust!