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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220826190009.14B811C0696%40moolenaar.net.