diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-22 18:14:29 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-22 18:14:29 +0100 |
commit | 6689df024bce4309ec5884e445738fe07ee4ffcc (patch) | |
tree | 1e07b617353eed542572b67ae51e6b89f0f65174 /src/ex_getln.c | |
parent | 6046aded8da002b08d380db29de2ba0268b6616e (diff) | |
download | vim-git-6689df024bce4309ec5884e445738fe07ee4ffcc.tar.gz |
patch 8.2.5149: cannot build without the +eval featurev8.2.5149
Problem: Cannot build without the +eval feature. (Tony Mechelynck)
Solution: Add #ifdefs.
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index b499aba14..8dc03dc33 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(); |