forked from aniani/vim
patch 9.0.0263: too many #ifdefs
Problem: Too many #ifdefs. Solution: Make some functions always available.
This commit is contained in:
@@ -100,11 +100,7 @@ changed(void)
|
||||
|
||||
// Create a swap file if that is wanted.
|
||||
// Don't do this for "nofile" and "nowrite" buffer types.
|
||||
if (curbuf->b_may_swap
|
||||
#ifdef FEAT_QUICKFIX
|
||||
&& !bt_dontwrite(curbuf)
|
||||
#endif
|
||||
)
|
||||
if (curbuf->b_may_swap && !bt_dontwrite(curbuf))
|
||||
{
|
||||
int save_need_wait_return = need_wait_return;
|
||||
|
||||
|
Reference in New Issue
Block a user