mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-21 03:52:16 -08:00
Improve type of user option 'package-review-policy'
* lisp/emacs-lisp/package.el (package-review-policy): Move tags to the cons-cell level, so that the labels are displayed in the menu when inserting a new item.
This commit is contained in:
parent
f9e063e922
commit
0c31ea113f
1 changed files with 2 additions and 2 deletions
|
|
@ -683,8 +683,8 @@ SYMBOL) will review packages whose names match SYMBOL. If you prefix
|
|||
the list with a symbol `not', the rules are inverted."
|
||||
:type
|
||||
(let ((choice '(choice :tag "Review specific packages or archives"
|
||||
(cons (const archive) (string :tag "Archive name"))
|
||||
(cons (const package) (symbol :tag "Package name")))))
|
||||
(cons :tag "Archive name" (const archive) string)
|
||||
(cons :tag "Package name" (const package) symbol))))
|
||||
`(choice
|
||||
(const :tag "Review all packages" t)
|
||||
(repeat :tag "Review these specific packages and archives" ,choice)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue