diff options
author | Bram Moolenaar <bram@vim.org> | 2013-05-11 15:50:33 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-05-11 15:50:33 +0200 |
commit | 48849c0113ddcbd7e9b003a4d22a1d5303038633 (patch) | |
tree | fc3388acb0aa0c7795710ae7527986adfc93495e | |
parent | 70dd0b8af1270ab1570d613b3df2aff5e548ff1e (diff) | |
download | vim-48849c0113ddcbd7e9b003a4d22a1d5303038633.tar.gz |
Problem: E381 and E380 make the user think nothing happened.
Solution: Display the message indicating what error list is now active.
(Christian Brabandt)
-rw-r--r-- | src/quickfix.c | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index 86ec338f..a8fc0101 100644 --- 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 diff --git a/src/version.c b/src/version.c index 3cf57bba..21b537d5 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 934, +/**/ 933, /**/ 932, |