1
0
forked from aniani/vim

updated for version 7.3.186

Problem:    When 'clipboard' contains "unnamed" or "unnamedplus" the value of
            v:register is wrong for operators without a specific register.
Solution:   Adjust the register according to 'clipboard'. (Ingo Karkat)
This commit is contained in:
Bram Moolenaar
2011-05-10 16:12:45 +02:00
parent bb99322ef9
commit 536681be5d
2 changed files with 9 additions and 1 deletions

View File

@@ -1202,7 +1202,13 @@ getcount:
{
clearop(oap);
#ifdef FEAT_EVAL
set_reg_var('"');
{
int regname = 0;
/* Adjust the register according to 'clipboard', so that when
* "unnamed" is present it becomes '*' or '+' instead of '"'. */
adjust_clip_reg(&regname);
set_reg_var(regname);
}
#endif
}

View File

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