commit c8852aa5e24683ce6d0c9669db966b3560776c31 parent 5f1b618a5aa578416629a373fde29b5727d40222 Author: Benno Schulenberg <bensberg@telfort.nl> Date: Mon, 24 Sep 2018 20:55:18 +0200 help: add a relevant explanatory text for the linter This fixes https://savannah.gnu.org/bugs/?54713. Diffstat:
M | src/help.c | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/help.c b/src/help.c @@ -421,6 +421,15 @@ void help_init(void) "command.\n\n"); htx[2] = N_(" The following function keys are " "available in Execute Command mode:\n\n"); + } else if (currmenu == MLINTER) { + htx[0] = N_("=== Linter ===\n\n " + "In this mode, the status bar shows an error message or " + "warning, and the cursor is put at the corresponding " + "position in the file. With PageUp and PageDown you " + "can switch to earlier and later messages.\n\n"); + htx[1] = N_(" The following function keys are " + "available in Linter mode:\n\n"); + htx[2] = NULL; } #endif /* !NANO_TINY */ else {