From b1b715d1fb12f935a524dbaf2c2685a8bc0015a3 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 21 Jan 2006 22:09:43 +0000 Subject: updated for version 7.0184 --- src/fileio.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/fileio.c') diff --git a/src/fileio.c b/src/fileio.c index ce3e2a043..868b64989 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); } -- cgit v1.2.1