Patch 8.2.4593

4 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 19, 2022, 7:44:45 AM3/19/22
to vim...@googlegroups.com

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 -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages