linter: for "first"/"last", reshow actual message after a short pause

This fixes https://savannah.gnu.org/bugs/?54754.
master
Benno Schulenberg 2018-10-21 13:02:07 +02:00
parent bab5eeb808
commit b8c51329f6
1 changed files with 8 additions and 2 deletions

View File

@ -3281,13 +3281,19 @@ void do_linter(void)
} else if (func == do_page_up || func == do_prev_block) {
if (curlint->prev != NULL)
curlint = curlint->prev;
else
else {
statusbar(_("At first message"));
napms(600);
statusbar(curlint->msg);
}
} else if (func == do_page_down || func == do_next_block) {
if (curlint->next != NULL)
curlint = curlint->next;
else
else {
statusbar(_("At last message"));
napms(600);
statusbar(curlint->msg);
}
}
}