]> granicus.if.org Git - vim/commitdiff
patch 8.2.3722: Amiga: superfluous messages for freeing lots of yanked text v8.2.3722
authorBram Moolenaar <Bram@vim.org>
Thu, 2 Dec 2021 18:55:16 +0000 (18:55 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 2 Dec 2021 18:55:16 +0000 (18:55 +0000)
Problem:    Amiga: superfluous messages for freeing lots of yanked text.
Solution:   Assume that the machine isn't that slow these days.

src/register.c
src/version.c

index cd2e0e1567f3b32daa5a8dd6d6dcaec4a0d5d2dc..d225d7789a2afe6b057a034bb7b3d769a60d025d 100644 (file)
@@ -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
     }
 }
 
index 30cd9bced06a622bcaa5d91d2eec06c8609709c6..0ae4d63aa9397fd1a40d8da59fc6860067e6007c 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3722,
 /**/
     3721,
 /**/