patch 8.2.4593: unnecessary call to redraw_later()
Problem: Unnecessary call to redraw_later().
Solution: Remove the call to redraw_later() in op_yank(). (closes #9971)
diff --git a/src/register.c b/src/register.c
index 9406ff8..89d4232 100644
--- a/src/register.c
+++ b/src/register.c
@@ -1330,8 +1330,7 @@
vim_free(y_current->y_array);
y_current = curr;
}
- if (curwin->w_p_rnu)
- redraw_later(SOME_VALID); // cursor moved to start
+
if (mess) // Display message about yank?
{
if (yanktype == MCHAR
diff --git a/src/version.c b/src/version.c
index c2e4914..442db2c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4593,
+/**/
4592,
/**/
4591,