To: vim_dev@googlegroups.com Subject: Patch 8.2.4593 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4593 Problem: Unnecessary call to redraw_later(). Solution: Remove the call to redraw_later() in op_yank(). (closes #9971) Files: src/register.c *** ../vim-8.2.4592/src/register.c 2022-01-31 14:59:33.522943638 +0000 --- src/register.c 2022-03-19 11:41:16.141799215 +0000 *************** *** 1330,1337 **** 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 --- 1330,1336 ---- vim_free(y_current->y_array); y_current = curr; } ! if (mess) // Display message about yank? { if (yanktype == MCHAR *** ../vim-8.2.4592/src/version.c 2022-03-19 11:31:34.894039776 +0000 --- src/version.c 2022-03-19 11:41:32.261776843 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4593, /**/ -- GALAHAD: No. Look, I can tackle this lot single-handed! GIRLS: Yes, yes, let him Tackle us single-handed! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///