Patch 8.2.3722
Problem: Amiga: superfluous messages for freeing lots of yanked text.
Solution: Assume that the machine isn't that slow these days.
Files: src/register.c
*** ../vim-8.2.3721/src/register.c 2021-12-02 18:42:29.458994806 +0000
--- src/register.c 2021-12-02 18:19:54.622081023 +0000
***************
*** 1089,1114 ****
long i;
for (i = n; --i >= 0; )
- {
- #ifdef AMIGA // only for very slow machines
- if ((i & 1023) == 1023) // this may take a while
- {
- // This message should never cause a hit-return message.
- // Overwrite this message with any next message.
- ++no_wait_return;
- smsg(_("freeing %ld lines"), i + 1);
- --no_wait_return;
- msg_didout = FALSE;
- msg_col = 0;
- }
- #endif
vim_free(y_current->y_array[i]);
- }
VIM_CLEAR(y_current->y_array);
- #ifdef AMIGA
- if (n >= 1000)
- msg("");
- #endif
}
}
--- 1089,1096 ----
*** ../vim-8.2.3721/src/version.c 2021-12-02 18:42:29.458994806 +0000
--- src/version.c 2021-12-02 18:54:51.934694272 +0000
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 3722,
/**/
--
It is too bad that the speed of light hasn't kept pace with the
changes in CPU speed and network bandwidth. -- <
wie...@porcupine.org>
/// 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 ///