To: vim_dev@googlegroups.com Subject: Patch 9.0.0281 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0281 (after 9.0.0279) Problem: Build failure without the +eval feature. Solution: Add #ifdef. Files: src/cmdexpand.c *** ../vim-9.0.0280/src/cmdexpand.c 2022-08-26 16:58:46.135489352 +0100 --- src/cmdexpand.c 2022-08-26 19:58:11.931895794 +0100 *************** *** 3613,3628 **** * Free expanded names when finished walking through the matches */ void ! wildmenu_cleanup(cmdline_info_T *cclp) { int skt = KeyTyped; int old_RedrawingDisabled = RedrawingDisabled; if (!p_wmnu || wild_menu_showing == 0) return; if (cclp->input_fn) RedrawingDisabled = 0; if (wild_menu_showing == WM_SCROLLED) { --- 3613,3632 ---- * Free expanded names when finished walking through the matches */ void ! wildmenu_cleanup(cmdline_info_T *cclp UNUSED) { int skt = KeyTyped; + #ifdef FEAT_EVAL int old_RedrawingDisabled = RedrawingDisabled; + #endif if (!p_wmnu || wild_menu_showing == 0) return; + #ifdef FEAT_EVAL if (cclp->input_fn) RedrawingDisabled = 0; + #endif if (wild_menu_showing == WM_SCROLLED) { *************** *** 3647,3654 **** --- 3651,3660 ---- } KeyTyped = skt; wild_menu_showing = 0; + #ifdef FEAT_EVAL if (cclp->input_fn) RedrawingDisabled = old_RedrawingDisabled; + #endif } #if defined(FEAT_EVAL) || defined(PROTO) *** ../vim-9.0.0280/src/version.c 2022-08-26 17:52:47.890406156 +0100 --- src/version.c 2022-08-26 19:58:36.019756724 +0100 *************** *** 709,710 **** --- 709,712 ---- { /* Add new patch number below this line */ + /**/ + 281, /**/ -- My Go, this amn keyboar oesn't have a . /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///