summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fileio.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index fbb3ada47..bcabbffc8 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -9239,7 +9239,7 @@ aucmd_prepbuf(aco, buf)
aco_save_T *aco; /* structure to save values in */
buf_T *buf; /* new curbuf */
{
- aco->save_buf = buf;
+ aco->save_buf = curbuf;
curbuf = buf;
curwin->w_buffer = buf;
}
diff --git a/src/version.c b/src/version.c
index bc906d453..780f6bff7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 271,
+/**/
270,
/**/
269,