On Mon, 21 Aug 2023 11:51:36 -0300 Mauro Aranda wrote: > Ola x Nilsson writes: [...] >> I think I ran into another problem with the change. >> Using the simple item definitions (described in the docstring), this >> call >> >> (widget-choose "Title" '(("Option1" . "Foo") ("Option 2" . "Bar"))) >> >> will fail with >> >> (wrong-type-argument (listp "Foo")) > > Thanks for reporting this. > >> Or did I misunderstand how that mode works? > > I think your recipe should work, and it worked before. > > Hopefully Stephen can take a look at it. Thanks for reporting this regression. The following patch, which tests for proper-list-p instead of consp, fixes the above case and still applies substitute-command-keys correctly in the other cases brought up in this bug: