summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-16 17:32:40 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-16 17:32:40 +0200
commit8c0e322f18c11f4cc2fb6ee2525d47374044a706 (patch)
treea950bc417b81cfd118d7aa119fe0e5dd6ae75c9a /src/buffer.c
parent6949eea7cc79ef35921f82411bf8439a079ca424 (diff)
updated for version 7.3.1213v7.3.1213
Problem: Can't build with small features and Python. Solution: Adjust #ifdefs.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 6e3fa55b8b..ee5d33cd40 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -984,6 +984,10 @@ do_bufdel(command, arg, addr_count, start_bnr, end_bnr, forceit)
return errormsg;
}
+#endif /* FEAT_LISTCMDS */
+
+#if defined(FEAT_LISTCMDS) || defined(FEAT_PYTHON) \
+ || defined(FEAT_PYTHON3) || defined(PROTO)
/*
* Implementation of the commands for the buffer list.
@@ -1364,8 +1368,7 @@ do_buffer(action, start, dir, count, forceit)
return OK;
}
-
-#endif /* FEAT_LISTCMDS */
+#endif
/*
* Set current buffer to "buf". Executes autocommands and closes current