Mercurial > vim
comparison src/cmdexpand.c @ 29886:3ef1fe06690d v9.0.0281
patch 9.0.0281: build failure without the +eval feature
Commit: https://github.com/vim/vim/commit/58dcbf1c6586d3873702e035b47829178a91250e
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 26 19:58:49 2022 +0100
patch 9.0.0281: build failure without the +eval feature
Problem: Build failure without the +eval feature.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 26 Aug 2022 21:00:06 +0200 |
parents | 0cc9a3001717 |
children | 578e71f924fe |
comparison
equal
deleted
inserted
replaced
29885:f00c56ee8118 | 29886:3ef1fe06690d |
---|---|
3611 | 3611 |
3612 /* | 3612 /* |
3613 * Free expanded names when finished walking through the matches | 3613 * Free expanded names when finished walking through the matches |
3614 */ | 3614 */ |
3615 void | 3615 void |
3616 wildmenu_cleanup(cmdline_info_T *cclp) | 3616 wildmenu_cleanup(cmdline_info_T *cclp UNUSED) |
3617 { | 3617 { |
3618 int skt = KeyTyped; | 3618 int skt = KeyTyped; |
3619 #ifdef FEAT_EVAL | |
3619 int old_RedrawingDisabled = RedrawingDisabled; | 3620 int old_RedrawingDisabled = RedrawingDisabled; |
3621 #endif | |
3620 | 3622 |
3621 if (!p_wmnu || wild_menu_showing == 0) | 3623 if (!p_wmnu || wild_menu_showing == 0) |
3622 return; | 3624 return; |
3623 | 3625 |
3626 #ifdef FEAT_EVAL | |
3624 if (cclp->input_fn) | 3627 if (cclp->input_fn) |
3625 RedrawingDisabled = 0; | 3628 RedrawingDisabled = 0; |
3629 #endif | |
3626 | 3630 |
3627 if (wild_menu_showing == WM_SCROLLED) | 3631 if (wild_menu_showing == WM_SCROLLED) |
3628 { | 3632 { |
3629 // Entered command line, move it up | 3633 // Entered command line, move it up |
3630 cmdline_row--; | 3634 cmdline_row--; |
3645 win_redraw_last_status(topframe); | 3649 win_redraw_last_status(topframe); |
3646 redraw_statuslines(); | 3650 redraw_statuslines(); |
3647 } | 3651 } |
3648 KeyTyped = skt; | 3652 KeyTyped = skt; |
3649 wild_menu_showing = 0; | 3653 wild_menu_showing = 0; |
3654 #ifdef FEAT_EVAL | |
3650 if (cclp->input_fn) | 3655 if (cclp->input_fn) |
3651 RedrawingDisabled = old_RedrawingDisabled; | 3656 RedrawingDisabled = old_RedrawingDisabled; |
3657 #endif | |
3652 } | 3658 } |
3653 | 3659 |
3654 #if defined(FEAT_EVAL) || defined(PROTO) | 3660 #if defined(FEAT_EVAL) || defined(PROTO) |
3655 /* | 3661 /* |
3656 * "getcompletion()" function | 3662 * "getcompletion()" function |