0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0-238

This commit is contained in:
Bram Moolenaar
2007-05-01 20:04:53 +00:00
parent 8243a7928b
commit 0ddf0a7df0
2 changed files with 10 additions and 2 deletions

View File

@@ -6477,9 +6477,15 @@ next_search_hl(win, shl, lnum, mincol)
if (called_emsg)
{
/* Error while handling regexp: stop using this regexp. */
if (shl == &search_hl)
{
/* don't free the regprog in match_hl[], it's a copy */
vim_free(shl->rm.regprog);
shl->rm.regprog = NULL;
no_hlsearch = TRUE;
}
shl->rm.regprog = NULL;
shl->lnum = 0;
got_int = FALSE; /* avoid the "Type :quit to exit Vim" message */
break;
}
if (nmatched == 0)

View File

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