# HG changeset patch # User Bram Moolenaar # Date 1647690304 -3600 # Node ID f825792fddb1e9df2e15a9dd3aa64e4913df2307 # Parent 0be74bb8a072afee11c625ed6bbe05d55258c512 patch 8.2.4593: unnecessary call to redraw_later() Commit: https://github.com/vim/vim/commit/95d2e7634ccd8e0da78086002509a856999e180c Author: zeertzjq Date: Sat Mar 19 11:42:16 2022 +0000 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 https://github.com/vim/vim/issues/9971) diff --git a/src/register.c b/src/register.c --- a/src/register.c +++ b/src/register.c @@ -1330,8 +1330,7 @@ op_yank(oparg_T *oap, int deleting, int 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 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4593, +/**/ 4592, /**/ 4591,