help: list again the keystroke for toggling the help lines (M-X)
This fixes https://savannah.gnu.org/bugs/?58855.
Bug existed since version 5.0, commit d8249917
.
master
parent
d0ad1e42d9
commit
34f4ceb77e
|
@ -302,7 +302,7 @@ void help_init(void)
|
||||||
counter++;
|
counter++;
|
||||||
for (s = sclist; s != NULL; s = s->next)
|
for (s = sclist; s != NULL; s = s->next)
|
||||||
if (s->toggle && s->ordinal == counter) {
|
if (s->toggle && s->ordinal == counter) {
|
||||||
ptr += sprintf(ptr, "%s\t\t %s %s\n", (s->menus == MMAIN ? s->keystr : ""),
|
ptr += sprintf(ptr, "%s\t\t %s %s\n", (s->menus & MMAIN ? s->keystr : ""),
|
||||||
_(flagtostr(s->toggle)), _("enable/disable"));
|
_(flagtostr(s->toggle)), _("enable/disable"));
|
||||||
if (s->toggle == NO_SYNTAX || s->toggle == TABS_TO_SPACES)
|
if (s->toggle == NO_SYNTAX || s->toggle == TABS_TO_SPACES)
|
||||||
ptr += sprintf(ptr, "\n");
|
ptr += sprintf(ptr, "\n");
|
||||||
|
|
Loading…
Reference in New Issue