diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-02 18:55:16 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-02 18:55:16 +0000 |
commit | 5e86964bf48ddbfa20261bda84db391c80a36dca (patch) | |
tree | 2d77b749039657b35f3fd19a5767915521325136 /src/register.c | |
parent | 9ac38129b6d409f73e29b1d51a5d459cf050410f (diff) | |
download | vim-git-5e86964bf48ddbfa20261bda84db391c80a36dca.tar.gz |
patch 8.2.3722: Amiga: superfluous messages for freeing lots of yanked textv8.2.3722
Problem: Amiga: superfluous messages for freeing lots of yanked text.
Solution: Assume that the machine isn't that slow these days.
Diffstat (limited to 'src/register.c')
-rw-r--r-- | src/register.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/register.c b/src/register.c index cd2e0e156..d225d7789 100644 --- 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 } } |