From 9851ae4a794ecaef9fefc18b856edd827ac56fcc Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Tue, 10 Dec 2024 14:56:21 +0100 Subject: [PATCH] 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) (cherry picked from commit fbcb357b9db1e7d4dd32c1f2b7b01950e66b9b34) --- lisp/gnus/gnus.el | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index f1fc129a505..1334fa26afa 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el @@ -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) -- 2.39.5