diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-01-21 22:09:43 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-01-21 22:09:43 +0000 |
commit | b1b715d1fb12f935a524dbaf2c2685a8bc0015a3 (patch) | |
tree | 737b17ab9c59d604a7c6eccc745f9d4eb57e667c /src/fileio.c | |
parent | b71eaaeaa8193b0cbb67496de6ad16ced80b8b09 (diff) |
updated for version 7.0184
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index ce3e2a043d..868b649891 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2882,9 +2882,11 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit, if (!(did_cmd = apply_autocmds_exarg(EVENT_FILEAPPENDCMD, sfname, sfname, FALSE, curbuf, eap))) { +#ifdef FEAT_QUICKFIX if (overwriting && bt_nofile(curbuf)) nofile_err = TRUE; else +#endif apply_autocmds_exarg(EVENT_FILEAPPENDPRE, sfname, sfname, FALSE, curbuf, eap); } @@ -2899,9 +2901,11 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit, if (!(did_cmd = apply_autocmds_exarg(EVENT_BUFWRITECMD, sfname, sfname, FALSE, curbuf, eap))) { +#ifdef FEAT_QUICKFIX if (overwriting && bt_nofile(curbuf)) nofile_err = TRUE; else +#endif apply_autocmds_exarg(EVENT_BUFWRITEPRE, sfname, sfname, FALSE, curbuf, eap); } @@ -2911,9 +2915,11 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit, if (!(did_cmd = apply_autocmds_exarg(EVENT_FILEWRITECMD, sfname, sfname, FALSE, curbuf, eap))) { +#ifdef FEAT_QUICKFIX if (overwriting && bt_nofile(curbuf)) nofile_err = TRUE; else +#endif apply_autocmds_exarg(EVENT_FILEWRITEPRE, sfname, sfname, FALSE, curbuf, eap); } |