summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-28 20:25:47 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-28 20:25:47 +0200
commit461f21242a8fc7f2fe9d1c723741eeda45f0ac72 (patch)
treed49042167345757286d723bc05cadae47fe3d624 /src/ex_cmds.c
parentae616494d77e9930da703d65d12ac0abf6dc425f (diff)
patch 8.2.1309: build failure with tiny versionv8.2.1309
Problem: Build failure with tiny version. Solution: Add #ifdef.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 895912f419..88161fa2c4 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3176,9 +3176,10 @@ ex_append(exarg_T *eap)
int vcol;
int empty = (curbuf->b_ml.ml_flags & ML_EMPTY);
+#ifdef FEAT_EVAL
if (not_in_vim9(eap) == FAIL)
return;
-
+#endif
// the ! flag toggles autoindent
if (eap->forceit)
curbuf->b_p_ai = !curbuf->b_p_ai;
@@ -3320,9 +3321,10 @@ ex_change(exarg_T *eap)
{
linenr_T lnum;
+#ifdef FEAT_EVAL
if (not_in_vim9(eap) == FAIL)
return;
-
+#endif
if (eap->line2 >= eap->line1
&& u_save(eap->line1 - 1, eap->line2 + 1) == FAIL)
return;