Permalink
Browse files

patch 7.4.2325

Problem:    Tiny build fails.
Solution:   Add #ifdef.
  • Loading branch information...
1 parent e0ab94e commit 30180b8dad5c1478e7920e56a71352cb318fadb0 @brammool brammool committed Sep 4, 2016
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/buffer.c
  2. +2 −0 src/version.c
View
@@ -476,13 +476,15 @@ 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))
{
EMSG(_("E937: Attempt to delete a buffer that is in use"));
return;
}
+#endif
if (win != NULL
#ifdef FEAT_WINDOWS
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2325,
+/**/
2324,
/**/
2323,

0 comments on commit 30180b8

Please sign in to comment.