Fix 'gnus-select-method' custom type

* lisp/gnus/gnus.el (gnus-redefine-select-method-widget): Cater
for the 'gnus-search-engine' configuration variable, which takes
2 args instead of 1.   (Bug#74759)
This commit is contained in:
Robert Pluim 2024-12-10 14:56:21 +01:00
parent 6fd5e02cb9
commit fbcb357b9d

View file

@ -1402,9 +1402,14 @@ this variable. I think."
(string :tag "Address") (string :tag "Address")
(repeat :tag "Options" (repeat :tag "Options"
:inline t :inline t
(list :format "%v" (radio
variable (list :tag "Single var" :format "%v"
(sexp :tag "Value")))))) variable
(sexp :tag "Value"))
(list :tag "Multiple var" :format "%v"
variable
variable
(sexp :tag "Value")))))))
(gnus-redefine-select-method-widget) (gnus-redefine-select-method-widget)