0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.5149: cannot build without the +eval feature

Problem:    Cannot build without the +eval feature. (Tony Mechelynck)
Solution:   Add #ifdefs.
This commit is contained in:
Bram Moolenaar 2022-06-22 18:14:29 +01:00
parent 6046aded8d
commit 6689df024b
2 changed files with 6 additions and 0 deletions

View File

@ -1206,7 +1206,9 @@ cmdline_insert_reg(int *gotesc UNUSED)
{ {
int i; int i;
int c; int c;
#ifdef FEAT_EVAL
int save_new_cmdpos = new_cmdpos; int save_new_cmdpos = new_cmdpos;
#endif
#ifdef USE_ON_FLY_SCROLL #ifdef USE_ON_FLY_SCROLL
dont_scroll = TRUE; // disallow scrolling here dont_scroll = TRUE; // disallow scrolling here
@ -1265,7 +1267,9 @@ cmdline_insert_reg(int *gotesc UNUSED)
} }
#endif #endif
} }
#ifdef FEAT_EVAL
new_cmdpos = save_new_cmdpos; new_cmdpos = save_new_cmdpos;
#endif
// remove the double quote // remove the double quote
redrawcmd(); redrawcmd();

View File

@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
5149,
/**/ /**/
5148, 5148,
/**/ /**/