diff options
author | Mauro Aranda <maurooaranda@gmail.com> | 2023-07-15 18:54:14 -0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-07-20 18:52:30 +0300 |
commit | a5a8de4099bd246a85cc776fff2e9a8b4608d40b (patch) | |
tree | 395f95d665e58e4f5d98f7f0d3a8fa7679f83b9c /test/lisp/emacs-lisp/syntax-tests.el | |
parent | bcb5bdc2e9abd58b8e946109a319986daec66ace (diff) | |
download | emacs-a5a8de4099bd246a85cc776fff2e9a8b4608d40b.tar.gz emacs-a5a8de4099bd246a85cc776fff2e9a8b4608d40b.tar.bz2 emacs-a5a8de4099bd246a85cc776fff2e9a8b4608d40b.zip |
Preserve comments when redrawing a widget (Bug#64649)
* lisp/cus-edit.el (custom-comment-preserve): New function.
(custom-redraw): Use it.
(custom-comment-create): Make sure :comment-shown is set to
t if the comment widget gets created.
(custom-face-value-create, custom-variable-value-create):
Recreate the custom-comment widget with the preserved value,
if any.
Diffstat (limited to 'test/lisp/emacs-lisp/syntax-tests.el')
0 files changed, 0 insertions, 0 deletions