Mercurial > vim
changeset 4371:000bb500208d v7.3.934
updated for version 7.3.934
Problem: E381 and E380 make the user think nothing happened.
Solution: Display the message indicating what error list is now active.
(Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 11 May 2013 15:50:33 +0200 |
parents | d73a4a163202 |
children | 05c4309e639e |
files | src/quickfix.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/quickfix.c +++ b/src/quickfix.c @@ -2085,7 +2085,7 @@ qf_age(eap) if (qi->qf_curlist == 0) { EMSG(_("E380: At bottom of quickfix stack")); - return; + break; } --qi->qf_curlist; } @@ -2094,13 +2094,12 @@ qf_age(eap) if (qi->qf_curlist >= qi->qf_listcount - 1) { EMSG(_("E381: At top of quickfix stack")); - return; + break; } ++qi->qf_curlist; } } qf_msg(qi); - } static void