0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.2-297

This commit is contained in:
Bram Moolenaar
2009-11-17 11:43:06 +00:00
parent 34ef52dd56
commit cde547a8f3
2 changed files with 11 additions and 1 deletions

View File

@@ -3991,6 +3991,14 @@ ex_display(eap)
} }
else else
yb = &(y_regs[i]); yb = &(y_regs[i]);
#ifdef FEAT_EVAL
if (name == MB_TOLOWER(redir_reg)
|| (redir_reg == '"' && yb == y_previous))
continue; /* do not list register being written to, the
* pointer can be freed */
#endif
if (yb->y_array != NULL) if (yb->y_array != NULL)
{ {
msg_putchar('\n'); msg_putchar('\n');
@@ -6090,7 +6098,7 @@ str_to_reg(y_ptr, type, str, len, blocklen)
long maxlen; long maxlen;
#endif #endif
if (y_ptr->y_array == NULL) /* NULL means emtpy register */ if (y_ptr->y_array == NULL) /* NULL means empty register */
y_ptr->y_size = 0; y_ptr->y_size = 0;
/* /*

View File

@@ -681,6 +681,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 */
/**/
297,
/**/ /**/
296, 296,
/**/ /**/