0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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)
This commit is contained in:
zeertzjq
2022-03-19 11:42:16 +00:00
committed by Bram Moolenaar
parent b10ff5c1b3
commit 95d2e7634c
2 changed files with 3 additions and 2 deletions

View File

@@ -1330,8 +1330,7 @@ op_yank(oparg_T *oap, int deleting, int mess)
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

View File

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