To: vim_dev@googlegroups.com Subject: Patch 8.2.1309 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1309 Problem: Build failure with tiny version. Solution: Add #ifdef. Files: src/ex_cmds.c, src/ex_docmd.c *** ../vim-8.2.1308/src/ex_cmds.c 2020-07-28 20:06:46.115280293 +0200 --- src/ex_cmds.c 2020-07-28 20:24:35.378604871 +0200 *************** *** 3176,3184 **** int vcol; int empty = (curbuf->b_ml.ml_flags & ML_EMPTY); if (not_in_vim9(eap) == FAIL) return; ! // the ! flag toggles autoindent if (eap->forceit) curbuf->b_p_ai = !curbuf->b_p_ai; --- 3176,3185 ---- 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,3328 **** { linenr_T lnum; if (not_in_vim9(eap) == FAIL) return; ! if (eap->line2 >= eap->line1 && u_save(eap->line1 - 1, eap->line2 + 1) == FAIL) return; --- 3321,3330 ---- { 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; *** ../vim-8.2.1308/src/ex_docmd.c 2020-07-28 20:06:46.115280293 +0200 --- src/ex_docmd.c 2020-07-28 20:24:54.422522793 +0200 *************** *** 5686,5693 **** --- 5686,5695 ---- static void ex_exit(exarg_T *eap) { + #ifdef FEAT_EVAL if (not_in_vim9(eap) == FAIL) return; + #endif #ifdef FEAT_CMDWIN if (cmdwin_type != 0) { *** ../vim-8.2.1308/src/version.c 2020-07-28 20:06:46.115280293 +0200 --- src/version.c 2020-07-28 20:25:27.062382140 +0200 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 1309, /**/ -- From "know your smileys": :-{} Too much lipstick /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///