1
Fork 0
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:
Philip Kaludercic 2026-01-18 19:10:39 +01:00
parent f9e063e922
commit 0c31ea113f
No known key found for this signature in database

View file

@ -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)