diff options
Diffstat (limited to 'src/cmdhist.c')
-rw-r--r-- | src/cmdhist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmdhist.c b/src/cmdhist.c index 7cdcee6b86..684c08e704 100644 --- a/src/cmdhist.c +++ b/src/cmdhist.c @@ -767,7 +767,8 @@ ex_history(exarg_T *eap) if (i == hislen) i = 0; if (hist[i].hisstr != NULL - && hist[i].hisnum >= j && hist[i].hisnum <= k) + && hist[i].hisnum >= j && hist[i].hisnum <= k + && !message_filtered(hist[i].hisstr)) { msg_putchar('\n'); sprintf((char *)IObuff, "%c%6d ", i == idx ? '>' : ' ', |