]> git.eshelyaron.com Git - emacs.git/commit
Support extended menus in widget-choose
authorMauro Aranda <maurooaranda@gmail.com>
Sat, 3 Oct 2020 17:31:50 +0000 (19:31 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 3 Oct 2020 17:31:50 +0000 (19:31 +0200)
commitf4305f3b53152126cce466b19f79d3348a5b2f2c
tree75fef5cca45562c66011aaa84f468a58ac23c815
parentd6a2754348f57883036c0f35f0a880b7817e6bc1
Support extended menus in widget-choose

* doc/misc/widget.texi (Utilities): Document widget-choose.

* etc/NEWS: Document the feature (bug#4787).
* lisp/wid-edit.el (widget--simplify-menu): New function, to convert
extended menus into simplified menus when using the menu to prompt
through the minibuffer.
(widget-choose): Accept a keymap menu.  When not using x-popup-menu,
simplify the menu with widget--simplify-menu.  Document the changes in
the docstring.
doc/misc/widget.texi
etc/NEWS
lisp/wid-edit.el