updated for version 7.3.1213
Problem: Can't build with small features and Python.
Solution: Adjust #ifdefs.
diff --git a/src/buffer.c b/src/buffer.c
index 6e3fa55..ee5d33c 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -984,6 +984,10 @@
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 @@
return OK;
}
-
-#endif /* FEAT_LISTCMDS */
+#endif
/*
* Set current buffer to "buf". Executes autocommands and closes current