| commit | 95d2e7634ccd8e0da78086002509a856999e180c | [log] [tgz] |
|---|---|---|
| author | zeertzjq <zeertzjq@outlook.com> | Sat Mar 19 11:42:16 2022 +0000 |
| committer | Bram Moolenaar <Bram@vim.org> | Sat Mar 19 11:42:16 2022 +0000 |
| tree | 7d3fc17fba3573e046689e547a83bd43c1631636 | |
| parent | b10ff5c1b3581ed4990d196bed51b4a8f961e8a2 [diff] [blame] |
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