summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/normal.c8
-rw-r--r--src/version.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index fe306675b..d8f9415d2 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -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
}
diff --git a/src/version.c b/src/version.c
index f2978cc8e..1dfb092a6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 186,
+/**/
185,
/**/
184,