]> git.eshelyaron.com Git - emacs.git/commit
Fix `pr-interface'
authorRobert Pluim <rpluim@gmail.com>
Fri, 6 Jan 2023 08:00:00 +0000 (09:00 +0100)
committerRobert Pluim <rpluim@gmail.com>
Fri, 6 Jan 2023 09:06:25 +0000 (10:06 +0100)
commit7420b6dcc379617ca9691049c16bfb2d158f9496
tree22b0009d5b2d22c5f2cd5c1b936ef3f128ea8d65
parent699711786ac7aa6d6524467076a45568e283e061
Fix `pr-interface'

`pr-interface' specifies `inline' for its menu items, which is not
necessary, but it causes `widget-choice-value-create' to bug
out.  (Bug#60501)

* lisp/wid-edit.el (widget-choice-value-create): Allow the value to be
a non-list.
* test/lisp/wid-edit-tests.el (widget-test-handle-spurious-inline):
Add test to ensure that unnecessary :inline is allowed.
lisp/wid-edit.el
test/lisp/wid-edit-tests.el