Skip to content

Commit

Permalink
patch 7.4.2325
Browse files Browse the repository at this point in the history
Problem:    Tiny build fails.
Solution:   Add #ifdef.
  • Loading branch information
brammool committed Sep 4, 2016
1 parent e0ab94e commit 30180b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/buffer.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -476,13 +476,15 @@ 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))
{ {
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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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,
/**/ /**/
Expand Down

0 comments on commit 30180b8

Please sign in to comment.