Mercurial > vim
diff src/ex_cmds.c @ 21518:0b448762ebbd v8.2.1309
patch 8.2.1309: build failure with tiny version
Commit: https://github.com/vim/vim/commit/461f21242a8fc7f2fe9d1c723741eeda45f0ac72
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 28 20:25:47 2020 +0200
patch 8.2.1309: build failure with tiny version
Problem: Build failure with tiny version.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 28 Jul 2020 20:30:05 +0200 |
parents | c7b2ce90c2de |
children | 2f2e528c5782 |
line wrap: on
line diff
--- 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;