changeset 10108:7cb49e98d582 v7.4.2325

commit https://github.com/vim/vim/commit/30180b8dad5c1478e7920e56a71352cb318fadb0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 4 19:57:56 2016 +0200 patch 7.4.2325 Problem: Tiny build fails. Solution: Add #ifdef.
author Christian Brabandt <cb@256bit.org>
date Sun, 04 Sep 2016 20:00:08 +0200
parents 3164c4afc969
children 3edc6b14299b
files src/buffer.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -476,6 +476,7 @@ close_buffer(
 	unload_buf = TRUE;
 #endif
 
+#ifdef FEAT_AUTOCMD
     /* Disallow deleting the buffer when it is locked (already being closed or
      * halfway a command that relies on it). Unloading is allowed. */
     if (buf->b_locked > 0 && (del_buf || wipe_buf))
@@ -483,6 +484,7 @@ close_buffer(
 	EMSG(_("E937: Attempt to delete a buffer that is in use"));
 	return;
     }
+#endif
 
     if (win != NULL
 #ifdef FEAT_WINDOWS
--- 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 */
 /**/
+    2325,
+/**/
     2324,
 /**/
     2323,