mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.0263: too many #ifdefs
Problem: Too many #ifdefs. Solution: Make some functions always available.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user