From b8c51329f6d8c305d0107819eda060a75c8277c9 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 21 Oct 2018 13:02:07 +0200 Subject: [PATCH] linter: for "first"/"last", reshow actual message after a short pause This fixes https://savannah.gnu.org/bugs/?54754. --- src/text.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/text.c b/src/text.c index 514cee50..8a9d372e 100644 --- a/src/text.c +++ b/src/text.c @@ -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); + } } }