0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.3.1271

Problem:    Command line completion does not work.
Solution:   Move setting xp_line down. (Daniel Thau)
This commit is contained in:
Bram Moolenaar 2013-06-30 12:21:24 +02:00
parent 14b6945e27
commit a4c8dcbdae
2 changed files with 7 additions and 5 deletions

View File

@ -4379,11 +4379,6 @@ set_cmd_context(xp, str, len, col)
int old_char = NUL;
char_u *nextcomm;
/* Store the string here so that call_user_expand_func() can get to them
* easily. */
xp->xp_line = str;
xp->xp_col = col;
/*
* Avoid a UMR warning from Purify, only save the character if it has been
* written before.
@ -4414,6 +4409,11 @@ set_cmd_context(xp, str, len, col)
while (nextcomm != NULL)
nextcomm = set_one_cmd_context(xp, nextcomm);
/* Store the string here so that call_user_expand_func() can get to them
* easily. */
xp->xp_line = str;
xp->xp_col = col;
str[col] = old_char;
}

View File

@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1271,
/**/
1270,
/**/