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:
@@ -1330,8 +1330,7 @@ op_yank(oparg_T *oap, int deleting, int mess)
|
|||||||
vim_free(y_current->y_array);
|
vim_free(y_current->y_array);
|
||||||
y_current = curr;
|
y_current = curr;
|
||||||
}
|
}
|
||||||
if (curwin->w_p_rnu)
|
|
||||||
redraw_later(SOME_VALID); // cursor moved to start
|
|
||||||
if (mess) // Display message about yank?
|
if (mess) // Display message about yank?
|
||||||
{
|
{
|
||||||
if (yanktype == MCHAR
|
if (yanktype == MCHAR
|
||||||
|
@@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
4593,
|
||||||
/**/
|
/**/
|
||||||
4592,
|
4592,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user