1
0
forked from aniani/vim

patch 8.2.1309: build failure with tiny version

Problem:    Build failure with tiny version.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2020-07-28 20:25:47 +02:00
parent ae616494d7
commit 461f21242a
3 changed files with 8 additions and 2 deletions

View File

@@ -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;