Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
910dc8d3
Commit
910dc8d3
authored
Jun 02, 2014
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/emacs-lisp/package.el (package-pinned-packages): Doc fix.
* etc/NEWS: Related edit.
parent
33590869
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
12 deletions
+23
-12
etc/NEWS
etc/NEWS
+2
-2
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/emacs-lisp/package.el
lisp/emacs-lisp/package.el
+17
-10
No files found.
etc/NEWS
View file @
910dc8d3
...
...
@@ -816,8 +816,8 @@ Use `electric-indent-mode' instead.
**
Package
FIXME
***
New
option
`
package
-
pinned
-
packages
'
.
***
New
option
`
package
-
pinned
-
packages
'. This is useful if you have multiple
archives enabled, with more than one offering a package that you want
.
FIXME
*** New options `package-check-signature'
and
`
package
-
unsigned
-
archives
'.
...
...
lisp/ChangeLog
View file @
910dc8d3
2014-06-03 Glenn Morris <rgm@gnu.org>
* emacs-lisp/package.el (package-pinned-packages): Doc fix.
2014-06-02 Eli Zaretskii <eliz@gnu.org>
* menu-bar.el (menu-bar-open): Fix invocation via M-x.
...
...
lisp/emacs-lisp/package.el
View file @
910dc8d3
...
...
@@ -229,18 +229,25 @@ a package can run arbitrary code."
:version
"24.1"
)
(
defcustom
package-pinned-packages
nil
"An alist of packages that are pinned to a specific archive
Each element has the form (SYM . ID).
SYM is a package, as a symbol.
ID is an archive name. This should correspond to an
entry in `package-archives'.
If the archive of name ID does not contain the package SYM, no
other location will be considered, which will make the
package unavailable."
"An alist of packages that are pinned to specific archives.
This can be useful if you have multiple package archives enabled,
and want to control which archive a given package gets installed from.
Each element of the alist has the form (PACKAGE . ARCHIVE), where:
PACKAGE is a symbol representing a package
ARCHIVE is a string representing an archive (it should be the car of
an element in `package-archives', e.g. \"gnu\").
Adding an entry to this variable means that only ARCHIVE will be
considered as a source for PACKAGE. If other archives provide PACKAGE,
they are ignored (for this package). If ARCHIVE does not contain PACKAGE,
the package will be unavailable."
:type
'
(
alist
:key-type
(
symbol
:tag
"Package"
)
:value-type
(
string
:tag
"Archive name"
))
;; I don't really see why this is risky...
;; I suppose it could prevent you receiving updates for a package,
;; via an entry (PACKAGE . NON-EXISTING). Which could be an issue
;; if PACKAGE has a known vulnerability that is fixed in newer versions.
:risky
t
:group
'package
:version
"24.4"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment