mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.4.571
Problem: Can't build with tiny features. (Ike Devolder) Solution: Add #ifdef.
This commit is contained in:
@@ -3710,9 +3710,11 @@ do_map(maptype, arg, mode, abbrev)
|
|||||||
else if (*keys == Ctrl_C)
|
else if (*keys == Ctrl_C)
|
||||||
{
|
{
|
||||||
/* If CTRL-C has been unmapped, reuse it for Interrupting. */
|
/* If CTRL-C has been unmapped, reuse it for Interrupting. */
|
||||||
|
#ifdef FEAT_LOCALMAP
|
||||||
if (map_table == curbuf->b_maphash)
|
if (map_table == curbuf->b_maphash)
|
||||||
curbuf->b_mapped_ctrl_c &= ~mode;
|
curbuf->b_mapped_ctrl_c &= ~mode;
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
mapped_ctrl_c &= ~mode;
|
mapped_ctrl_c &= ~mode;
|
||||||
}
|
}
|
||||||
goto theend;
|
goto theend;
|
||||||
@@ -3750,9 +3752,11 @@ do_map(maptype, arg, mode, abbrev)
|
|||||||
/* If CTRL-C has been mapped, don't always use it for Interrupting. */
|
/* If CTRL-C has been mapped, don't always use it for Interrupting. */
|
||||||
if (*keys == Ctrl_C)
|
if (*keys == Ctrl_C)
|
||||||
{
|
{
|
||||||
|
#ifdef FEAT_LOCALMAP
|
||||||
if (map_table == curbuf->b_maphash)
|
if (map_table == curbuf->b_maphash)
|
||||||
curbuf->b_mapped_ctrl_c |= mode;
|
curbuf->b_mapped_ctrl_c |= mode;
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
mapped_ctrl_c |= mode;
|
mapped_ctrl_c |= mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
571,
|
||||||
/**/
|
/**/
|
||||||
570,
|
570,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user