summaryrefslogtreecommitdiff
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-15 19:37:15 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-15 19:37:15 +0200
commit26910de8b0da6abab87bd5a397330f9cbe483309 (patch)
tree5a76a713818d0973f6774edabc17b8c13fb924fb /src/evalfunc.c
parent0331faf71200a274377e1569fcda4f00c9cf3e2a (diff)
downloadvim-git-26910de8b0da6abab87bd5a397330f9cbe483309.tar.gz
patch 8.1.1547: functionality of bt_nofile() is confusingv8.1.1547
Problem: Functionality of bt_nofile() is confusing. Solution: Split into bt_nofile() and bt_nofilename().
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 0ef76095f..544426fa6 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -1943,7 +1943,7 @@ find_buffer(typval_T *avar)
if (buf->b_fname != NULL
&& (path_with_url(buf->b_fname)
#ifdef FEAT_QUICKFIX
- || bt_nofile(buf)
+ || bt_nofilename(buf)
#endif
)
&& STRCMP(buf->b_fname, avar->vval.v_string) == 0)