Fix 'gnus-select-method' custom type
authorRobert Pluim <rpluim@gmail.com>
Tue, 10 Dec 2024 13:56:21 +0000 (14:56 +0100)
committerRobert Pluim <rpluim@gmail.com>
Tue, 10 Dec 2024 14:53:47 +0000 (15:53 +0100)
* 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)

lisp/gnus/gnus.el

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