diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-12-05 19:13:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-12-05 19:13:18 +0100 |
commit | 21691f896a49f9bfc63eb1557958e85a7de1adbf (patch) | |
tree | 071fb4182fcf895899f894e6c3ff081e5c44b341 /src/fileio.c | |
parent | 34feacbccea905d3a71ccf9175d872c50f370705 (diff) | |
download | vim-git-21691f896a49f9bfc63eb1557958e85a7de1adbf.tar.gz |
updated for version 7.3.753v7.3.753
Problem: When there is a QuitPre autocommand using ":q" twice does not work
for exiting when there are more files to edit.
Solution: Do not decrement quitmore in an autocommand. (Techlive Zheng)
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index a3113d7b1..470cce252 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -7774,7 +7774,6 @@ static char_u *find_end_event __ARGS((char_u *arg, int have_group)); static int event_ignored __ARGS((event_T event)); static int au_get_grouparg __ARGS((char_u **argp)); static int do_autocmd_event __ARGS((event_T event, char_u *pat, int nested, char_u *cmd, int forceit, int group)); -static char_u *getnextac __ARGS((int c, void *cookie, int indent)); static int apply_autocmds_group __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, int group, buf_T *buf, exarg_T *eap)); static void auto_next_pat __ARGS((AutoPatCmd *apc, int stop_at_last)); @@ -9613,7 +9612,7 @@ auto_next_pat(apc, stop_at_last) * Called by do_cmdline() to get the next line for ":if". * Returns allocated string, or NULL for end of autocommands. */ - static char_u * + char_u * getnextac(c, cookie, indent) int c UNUSED; void *cookie; |