[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH 2/2] bindings: add easier keystrokes for the lin
Re: [Nano-devel] [PATCH 2/2] bindings: add easier keystrokes for the linenumber and softwrap toggles
Sat, 6 Apr 2019 10:35:51 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
Op 06-04-19 om 02:36 schreef Brand Huntsman:
> On Fri, 5 Apr 2019 12:11:36 +0200
> Benno Schulenberg <address@hidden> wrote:
>> s->toggle = toggle;
>> - if (toggle)
>> + if (toggle && tailsc->toggle != toggle)
>> s->ordinal = ++counter;
> Is this a fix for something else that accidentally became part of this patch?
It is required to prevent the toggles that get two keystrokes assigned
to them from getting listed twice in the help text.
I will add a comment, and something to the commit message.
Description: OpenPGP digital signature