From c8852aa5e24683ce6d0c9669db966b3560776c31 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 24 Sep 2018 20:55:18 +0200 Subject: [PATCH] help: add a relevant explanatory text for the linter This fixes https://savannah.gnu.org/bugs/?54713. --- src/help.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/help.c b/src/help.c index e928d2ae..f3e2d113 100644 --- 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 {