mirror of
https://github.com/vim/vim.git
synced 2025-10-20 08:14:18 -04:00
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:
@@ -1202,7 +1202,13 @@ getcount:
|
|||||||
{
|
{
|
||||||
clearop(oap);
|
clearop(oap);
|
||||||
#ifdef FEAT_EVAL
|
#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(®name);
|
||||||
|
set_reg_var(regname);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -714,6 +714,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 */
|
||||||
|
/**/
|
||||||
|
186,
|
||||||
/**/
|
/**/
|
||||||
185,
|
185,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user