From d14a9c0d71e0e2240c97e449f4875577e7b44f73 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 To: emacs-devel@gnu.org * 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 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 62a090bd9df..0d0e678309f 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el @@ -1402,9 +1402,14 @@ gnus-redefine-select-method-widget (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