diff options
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index a5e888abe..d88111a13 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2649,7 +2649,10 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit, if (reset_changed && whole && buf == curbuf - && curbuf->b_ffname == NULL +#ifdef FEAT_QUICKFIX + && !bt_nofile(buf) +#endif + && buf->b_ffname == NULL && !filtering && vim_strchr(p_cpo, CPO_FNAMEW) != NULL) { |