Mercurial > vim
diff src/ex_cmds.c @ 3411:3465a9e77588 v7.3.471
updated for version 7.3.471
Problem: Can't abort listing placed signs.
Solution: Check "got_int". (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 16 Mar 2012 14:32:15 +0100 |
parents | 8e0fe5a723ad |
children | 8691bdcdbf66 |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -6729,7 +6729,7 @@ ex_sign(eap) if (idx == SIGNCMD_LIST && *arg == NUL) { /* ":sign list": list all defined signs */ - for (sp = first_sign; sp != NULL; sp = sp->sn_next) + for (sp = first_sign; sp != NULL && !got_int; sp = sp->sn_next) sign_list_defined(sp); } else if (*arg == NUL)