0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 7.4.2325

Problem:    Tiny build fails.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2016-09-04 19:57:56 +02:00
parent e0ab94e712
commit 30180b8dad
2 changed files with 4 additions and 0 deletions

View File

@@ -476,6 +476,7 @@ close_buffer(
unload_buf = TRUE; unload_buf = TRUE;
#endif #endif
#ifdef FEAT_AUTOCMD
/* Disallow deleting the buffer when it is locked (already being closed or /* Disallow deleting the buffer when it is locked (already being closed or
* halfway a command that relies on it). Unloading is allowed. */ * halfway a command that relies on it). Unloading is allowed. */
if (buf->b_locked > 0 && (del_buf || wipe_buf)) 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")); EMSG(_("E937: Attempt to delete a buffer that is in use"));
return; return;
} }
#endif
if (win != NULL if (win != NULL
#ifdef FEAT_WINDOWS #ifdef FEAT_WINDOWS

View File

@@ -763,6 +763,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2325,
/**/ /**/
2324, 2324,
/**/ /**/