summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-30 23:18:47 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-30 23:18:47 +0200
commitfc1f2015e833e69b89b994faf4b2c4fc1e09220f (patch)
tree04d725b12b4603f294c2d803156807cc50b95fbf
parent31440a1f2b6ae8a2f7ffdd4a8a3661eadc4df23c (diff)
downloadvim-git-7.4.2133.tar.gz
patch 7.4.2133v7.4.2133
Problem: Can't build with tiny features. Solution: Add #ifdef.
-rw-r--r--src/ex_cmds.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index e40e43590..30b0d5c31 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -4092,7 +4092,9 @@ do_ecmd(
if (u_savecommon(0, curbuf->b_ml.ml_line_count + 1, 0, TRUE)
== FAIL)
{
+#ifdef FEAT_AUTOCMD
vim_free(new_name);
+#endif
goto theend;
}
u_unchanged(curbuf);
diff --git a/src/version.c b/src/version.c
index ea7c7b929..5808cbc32 100644
--- a/src/version.c
+++ b/src/version.c
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2133,
+/**/
2132,
/**/
2131,