summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ex_cmds.c3
-rw-r--r--src/version.c2
2 files changed, 5 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)
diff --git a/src/version.c b/src/version.c
index c2f78aa9b..1bf84d35b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 172,
+/**/
171,
/**/
170,