bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42801: 26.3; customize-apropos shows bogus State buttons after savin


From: Mauro Aranda
Subject: bug#42801: 26.3; customize-apropos shows bogus State buttons after saving
Date: Sun, 16 Aug 2020 11:05:00 -0300

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Mauro Aranda <maurooaranda@gmail.com> writes:
>
>> I can reproduce this bug in Emacs 26.3.  On current master, the bug manifests
>> differently: we don't get the State buttons, but we do get the message:
>> Symbol's function definition is void: nil
>>
>> The difference lies in `custom-variable-modified-p' bugging out before we draw
>> the bogus State buttons for all options, because it is not supposed to handle
>> hidden widgets.
>>
>> The bug is that Custom-save recalculates the state and redraws all widgets,
>> even the hidden ones.  I propose the attached patch, that changes
>> Custom-save to only act on edited widgets in the buffer.
>
> Thanks; applied to Emacs 28.1.

Thank you!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]