Mercurial > vim
comparison src/ex_getln.c @ 29261:2f2c3448a337 v8.2.5149
patch 8.2.5149: cannot build without the +eval feature
Commit: https://github.com/vim/vim/commit/6689df024bce4309ec5884e445738fe07ee4ffcc
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 22 18:14:29 2022 +0100
patch 8.2.5149: cannot build without the +eval feature
Problem: Cannot build without the +eval feature. (Tony Mechelynck)
Solution: Add #ifdefs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 22 Jun 2022 19:15:03 +0200 |
parents | a5846b82119b |
children | b43cb3fd0c7b |
comparison
equal
deleted
inserted
replaced
29260:81c09f7f8b0c | 29261:2f2c3448a337 |
---|---|
1204 static int | 1204 static int |
1205 cmdline_insert_reg(int *gotesc UNUSED) | 1205 cmdline_insert_reg(int *gotesc UNUSED) |
1206 { | 1206 { |
1207 int i; | 1207 int i; |
1208 int c; | 1208 int c; |
1209 #ifdef FEAT_EVAL | |
1209 int save_new_cmdpos = new_cmdpos; | 1210 int save_new_cmdpos = new_cmdpos; |
1211 #endif | |
1210 | 1212 |
1211 #ifdef USE_ON_FLY_SCROLL | 1213 #ifdef USE_ON_FLY_SCROLL |
1212 dont_scroll = TRUE; // disallow scrolling here | 1214 dont_scroll = TRUE; // disallow scrolling here |
1213 #endif | 1215 #endif |
1214 putcmdline('"', TRUE); | 1216 putcmdline('"', TRUE); |
1263 else | 1265 else |
1264 ccline.cmdpos = new_cmdpos; | 1266 ccline.cmdpos = new_cmdpos; |
1265 } | 1267 } |
1266 #endif | 1268 #endif |
1267 } | 1269 } |
1270 #ifdef FEAT_EVAL | |
1268 new_cmdpos = save_new_cmdpos; | 1271 new_cmdpos = save_new_cmdpos; |
1272 #endif | |
1269 | 1273 |
1270 // remove the double quote | 1274 // remove the double quote |
1271 redrawcmd(); | 1275 redrawcmd(); |
1272 | 1276 |
1273 // The text has been stuffed, the command line didn't change yet. | 1277 // The text has been stuffed, the command line didn't change yet. |