aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorJohn Schmidt <john.schmidt.h@gmail.com>2014-03-17 20:30:12 +0100
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-05 10:01:22 -0300
commit807494578888d12ce55db67d73948bef208c2695 (patch)
tree23db320214e340b582a60915f5d8ccfca8a291a9 /src/buffer.c
parentacf5757831d2e6bfa325c1fe508e636d9030c6d5 (diff)
downloadrneovim-807494578888d12ce55db67d73948bef208c2695.tar.gz
rneovim-807494578888d12ce55db67d73948bef208c2695.tar.bz2
rneovim-807494578888d12ce55db67d73948bef208c2695.zip
Remove python, perl, lua, ruby
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 93f5fce8aa..e933c8ec24 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -790,8 +790,6 @@ do_bufdel (
return errormsg;
}
-#if defined(FEAT_LISTCMDS) || defined(FEAT_PYTHON) \
- || defined(FEAT_PYTHON3) || defined(PROTO)
static int empty_curbuf(int close_others, int forceit, int action);
@@ -1125,7 +1123,7 @@ do_buffer (
return OK;
}
-#endif
+
/*
* Set current buffer to "buf". Executes autocommands and closes current
@@ -1708,8 +1706,6 @@ static buf_T *buflist_findname_stat(char_u *ffname, struct stat *stp)
return NULL;
}
-#if defined(FEAT_LISTCMDS) || defined(FEAT_EVAL) || defined(FEAT_PERL) \
- || defined(PROTO)
/*
* Find file in buffer list by a regexp pattern.
* Return fnum of the found buffer.
@@ -1818,7 +1814,6 @@ buflist_findpat (
EMSG2(_("E94: No matching buffer for %s"), pattern);
return match;
}
-#endif
/*
@@ -4355,9 +4350,6 @@ char_u *buf_spname(buf_T *buf)
return NULL;
}
-#if (defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS)) \
- || defined(FEAT_PYTHON) || defined(FEAT_PYTHON3) \
- || defined(PROTO)
/*
* Find a window for buffer "buf".
* If found OK is returned and "wp" and "tp" are set to the window and tabpage.