summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ex_getln.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index b499aba141..8dc03dc336 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -1206,7 +1206,9 @@ cmdline_insert_reg(int *gotesc UNUSED)
{
int i;
int c;
+#ifdef FEAT_EVAL
int save_new_cmdpos = new_cmdpos;
+#endif
#ifdef USE_ON_FLY_SCROLL
dont_scroll = TRUE; // disallow scrolling here
@@ -1265,7 +1267,9 @@ cmdline_insert_reg(int *gotesc UNUSED)
}
#endif
}
+#ifdef FEAT_EVAL
new_cmdpos = save_new_cmdpos;
+#endif
// remove the double quote
redrawcmd();
diff --git a/src/version.c b/src/version.c
index e567a3a999..609c95559d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 5149,
+/**/
5148,
/**/
5147,