Skip to content

Commit 30180b8

Browse files
committed
patch 7.4.2325
Problem: Tiny build fails. Solution: Add #ifdef.
1 parent e0ab94e commit 30180b8

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/buffer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,13 +476,15 @@ close_buffer(
476476
unload_buf = TRUE;
477477
#endif
478478

479+
#ifdef FEAT_AUTOCMD
479480
/* Disallow deleting the buffer when it is locked (already being closed or
480481
* halfway a command that relies on it). Unloading is allowed. */
481482
if (buf->b_locked > 0 && (del_buf || wipe_buf))
482483
{
483484
EMSG(_("E937: Attempt to delete a buffer that is in use"));
484485
return;
485486
}
487+
#endif
486488

487489
if (win != NULL
488490
#ifdef FEAT_WINDOWS

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ static char *(features[]) =
763763

764764
static int included_patches[] =
765765
{ /* Add new patch number below this line */
766+
/**/
767+
2325,
766768
/**/
767769
2324,
768770
/**/

0 commit comments

Comments
 (0)