]> git.eshelyaron.com Git - emacs.git/commit
Fix State button for customize-icon (Bug#66635)
authorMauro Aranda <maurooaranda@gmail.com>
Thu, 19 Oct 2023 11:46:35 +0000 (08:46 -0300)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 22 Oct 2023 16:39:52 +0000 (18:39 +0200)
commit5f60913208f3fb2df9a2d3bda1655e01075bf446
treee0dbfc8f02dccdbbe163640c7428bbccc9244c8d
parent27c71979ff11c4a6c433f4cd6f7a390124c5fc3d
Fix State button for customize-icon (Bug#66635)

* lisp/cus-edit.el (custom-icon-action): New function.
(custom-icon): Use it as the :action.  Otherwise, clicking the State
button is a noop.  Remove irrelevant stuff from the docstring and
comment out some copy-pasta.
(custom-icon-extended-menu): New variable, the menu to show upon
:action.
(custom-icon-set): Really redraw the widget with the new settings.
Comment out strange call to custom-variable-backup-value.
(custom-icon-save): New function.

* lisp/emacs-lisp/icons.el (icons--merge-spec): Fix call to plist-get
and avoid infloop.
lisp/cus-edit.el
lisp/emacs-lisp/icons.el