]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix 'gnus-select-method' custom type
authorRobert Pluim <rpluim@gmail.com>
Tue, 10 Dec 2024 13:56:21 +0000 (14:56 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 15 Dec 2024 16:36:12 +0000 (17:36 +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)

(cherry picked from commit fbcb357b9db1e7d4dd32c1f2b7b01950e66b9b34)

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)