From e7477c9f9e88fe764c29c7193614ed37ba69efa8 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 2 Jun 2014 21:45:56 -0700 Subject: [PATCH] * emacs/package.texi (Package Installation): Mention package-pinned-packages. * etc/NEWS: Related markup. --- doc/emacs/ChangeLog | 4 ++++ doc/emacs/package.texi | 7 +++++++ etc/NEWS | 1 + 3 files changed, 12 insertions(+) diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 9a332b260d4..27168b00021 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,7 @@ +2014-06-03 Glenn Morris + + * package.texi (Package Installation): Mention package-pinned-packages. + 2014-06-02 Glenn Morris * misc.texi [iftex]: Update chapter summary. diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi index dee1210086c..98e3c8ac706 100644 --- a/doc/emacs/package.texi +++ b/doc/emacs/package.texi @@ -167,6 +167,13 @@ directory name of the package archive. You can alter this list if you wish to use third party package archives---but do so at your own risk, and use only third parties that you think you can trust! +@vindex package-pinned-packages + If you have more than one package archive enabled, and some of them +offer different versions of the same package, you may find the option +@code{package-pinned-packages} useful. You can add package/archive +pairs to this list, to ensure that the specified package is only ever +downloaded from the specified archive. + Once a package is downloaded and installed, it is @dfn{loaded} into the current Emacs session. Loading a package is not quite the same as loading a Lisp library (@pxref{Lisp Libraries}); its effect varies diff --git a/etc/NEWS b/etc/NEWS index 44bcb22e85e..bb9784718fc 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -816,6 +816,7 @@ Use `electric-indent-mode' instead. ** Package ++++ *** New option `package-pinned-packages'. This is useful if you have multiple archives enabled, with more than one offering a package that you want.