summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/version.c2
-rw-r--r--src/window.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c
index abdf18af..4ace0a02 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 960,
+/**/
959,
/**/
958,
diff --git a/src/window.c b/src/window.c
index bbd8d1e5..aeba15f8 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2124,7 +2124,9 @@ close_last_window_tabpage(win, free_buf, prev_curtab)
{
if (firstwin == lastwin)
{
+#ifdef FEAT_AUTOCMD
buf_T *old_curbuf = curbuf;
+#endif
/*
* Closing the last window in a tab page. First go to another tab