diff options
author | Mauro Aranda <maurooaranda@gmail.com> | 2020-10-07 04:35:52 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-10-07 04:35:58 +0200 |
commit | 73054376542865cd00db8876bcfb241f0aa8f6b5 (patch) | |
tree | d4d51d640dd2377c55b5e95ad438b417ee8cf954 /lisp/emacs-lisp/backtrace.el | |
parent | 891248be1cf805e8539d6e042eabc27bd725d515 (diff) | |
download | emacs-73054376542865cd00db8876bcfb241f0aa8f6b5.tar.gz emacs-73054376542865cd00db8876bcfb241f0aa8f6b5.tar.bz2 emacs-73054376542865cd00db8876bcfb241f0aa8f6b5.zip |
Make the State button in Custom use extended menus
* lisp/cus-edit.el (custom-actioned-widget): New variable.
Dynamically hold the widget for which to show the menu.
(custom-variable-extended-menu, custom-face-extended-menu)
(custom-group-extended-menu): Keymap menus for the State menu. Use
custom-actioned-widget for the :enable and :selected forms. Make
related items radio buttons. (Bug#4787)
(custom-variable-menu, custom-face-menu, custom-group-menu): Keep for
backward compatibility, but default to nil, so we prefer the keymap
menus instead.
(custom-variable-action, custom-face-action, custom-group-action):
Pass the keymap menu to widget-choose when the simplified menus
are nil.
Diffstat (limited to 'lisp/emacs-lisp/backtrace.el')
0 files changed, 0 insertions, 0 deletions