From: Bram Moolenaar Date: Mon, 27 Jun 2005 22:25:50 +0000 (+0000) Subject: updated for version 7.0095 X-Git-Tag: v7.0095~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=238f4fa79812261a3cbae7fbf7ec1443ef01526a;p=thirdparty%2Fvim.git updated for version 7.0095 --- diff --git a/src/getchar.c b/src/getchar.c index 686861aa47..311fe584d6 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -1410,6 +1410,19 @@ using_script() } #endif +/* + * This function is called just before doing a blocking wait. Thus after + * waiting 'updatetime' for a character to arrive. + */ + void +before_blocking() +{ + updatescript(0); +#ifdef FEAT_EVAL + garbage_collect(); +#endif +} + /* * updatescipt() is called when a character can be written into the script file * or when we have waited some time for a character (c == 0)