summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-12-08 21:21:18 +0000
committerBram Moolenaar <Bram@vim.org>2007-12-08 21:21:18 +0000
commit11717bb0a1275f1e270396aeb1df92d973d4d068 (patch)
tree4ec0aa64bc140ce93d325efe3cb6bd7581df798b /src/ex_cmds.c
parent49feabd5d6a9693ed785a962938f36f7e04ed263 (diff)
downloadvim-git-11717bb0a1275f1e270396aeb1df92d973d4d068.tar.gz
updated for version 7.1-172v7.1.172
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 3c2690a84..39ba8b528 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -2732,6 +2732,9 @@ check_overwrite(eap, buf, fname, ffname, other)
&& vim_strchr(p_cpo, CPO_OVERNEW) == NULL)
|| (buf->b_flags & BF_READERR))
&& !p_wa
+#ifdef FEAT_QUICKFIX
+ && !bt_nofile(buf)
+#endif
&& vim_fexists(ffname))
{
if (!eap->forceit && !eap->append)