Mercurial > vim
changeset 26382:d742cb67b260 v8.2.3722
patch 8.2.3722: Amiga: superfluous messages for freeing lots of yanked text
Commit: https://github.com/vim/vim/commit/5e86964bf48ddbfa20261bda84db391c80a36dca
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 2 18:55:16 2021 +0000
patch 8.2.3722: Amiga: superfluous messages for freeing lots of yanked text
Problem: Amiga: superfluous messages for freeing lots of yanked text.
Solution: Assume that the machine isn't that slow these days.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 02 Dec 2021 20:00:02 +0100 |
parents | 2ad7829cf85a |
children | ada8c0364d67 |
files | src/register.c src/version.c |
diffstat | 2 files changed, 2 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/src/register.c +++ b/src/register.c @@ -1089,26 +1089,8 @@ free_yank(long n) 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 } }