mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-30 19:53:09 +00:00
Fix use-package-defaults defcustom type (bug#59941)
* lisp/use-package/use-package-core.el (use-package-defaults): Enlarge type to allow for keywords such as :ensure and :pin to be added later, remedying a failure in test-custom-opts.
This commit is contained in:
parent
074b7e6f4d
commit
4893a15631
@ -210,9 +210,7 @@ a symbol) and a list of keywords (in normalized form). It should
|
||||
return nil or non-nil depending on whether defaulting should be
|
||||
attempted."
|
||||
:type `(repeat
|
||||
(list (choice :tag "Keyword"
|
||||
,@(mapcar #'(lambda (k) (list 'const k))
|
||||
use-package-keywords))
|
||||
(list (symbol :tag "Keyword")
|
||||
(choice :tag "Default value" sexp function)
|
||||
(choice :tag "Enable if non-nil" sexp function)))
|
||||
:group 'use-package)
|
||||
|
Loading…
Reference in New Issue
Block a user