Skip to content

Commit 6689df0

Browse files
committed
patch 8.2.5149: cannot build without the +eval feature
Problem: Cannot build without the +eval feature. (Tony Mechelynck) Solution: Add #ifdefs.
1 parent 6046ade commit 6689df0

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/ex_getln.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,9 @@ cmdline_insert_reg(int *gotesc UNUSED)
12061206
{
12071207
int i;
12081208
int c;
1209+
#ifdef FEAT_EVAL
12091210
int save_new_cmdpos = new_cmdpos;
1211+
#endif
12101212

12111213
#ifdef USE_ON_FLY_SCROLL
12121214
dont_scroll = TRUE; // disallow scrolling here
@@ -1265,7 +1267,9 @@ cmdline_insert_reg(int *gotesc UNUSED)
12651267
}
12661268
#endif
12671269
}
1270+
#ifdef FEAT_EVAL
12681271
new_cmdpos = save_new_cmdpos;
1272+
#endif
12691273

12701274
// remove the double quote
12711275
redrawcmd();

src/version.c

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

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
5149,
737739
/**/
738740
5148,
739741
/**/

0 commit comments

Comments
 (0)