summaryrefslogtreecommitdiffstats
path: root/src/evalbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/evalbuffer.c')
-rw-r--r--src/evalbuffer.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/evalbuffer.c b/src/evalbuffer.c
index fe41f08487..15ac58021a 100644
--- a/src/evalbuffer.c
+++ b/src/evalbuffer.c
@@ -93,11 +93,7 @@ find_buffer(typval_T *avar)
// buffer, these don't use the full path.
FOR_ALL_BUFFERS(buf)
if (buf->b_fname != NULL
- && (path_with_url(buf->b_fname)
-#ifdef FEAT_QUICKFIX
- || bt_nofilename(buf)
-#endif
- )
+ && (path_with_url(buf->b_fname) || bt_nofilename(buf))
&& STRCMP(buf->b_fname, avar->vval.v_string) == 0)
break;
}