summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index cfed0f327c..f2f32e1a62 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -222,7 +222,9 @@ open_buffer(
// Read the file if there is one.
if (curbuf->b_ffname != NULL
+#ifdef FEAT_QUICKFIX
&& !bt_quickfix(curbuf)
+#endif
&& !bt_nofilename(curbuf)
#ifdef FEAT_NETBEANS_INTG
&& netbeansReadFile