Mercurial > vim
comparison src/getchar.c @ 365:bda4394122e0
updated for version 7.0095
author | vimboss |
---|---|
date | Mon, 27 Jun 2005 22:25:50 +0000 |
parents | e111db373ca4 |
children | 3da34f87c760 |
comparison
equal
deleted
inserted
replaced
364:5332dd13733c | 365:bda4394122e0 |
---|---|
1407 using_script() | 1407 using_script() |
1408 { | 1408 { |
1409 return scriptin[curscript] != NULL; | 1409 return scriptin[curscript] != NULL; |
1410 } | 1410 } |
1411 #endif | 1411 #endif |
1412 | |
1413 /* | |
1414 * This function is called just before doing a blocking wait. Thus after | |
1415 * waiting 'updatetime' for a character to arrive. | |
1416 */ | |
1417 void | |
1418 before_blocking() | |
1419 { | |
1420 updatescript(0); | |
1421 #ifdef FEAT_EVAL | |
1422 garbage_collect(); | |
1423 #endif | |
1424 } | |
1412 | 1425 |
1413 /* | 1426 /* |
1414 * updatescipt() is called when a character can be written into the script file | 1427 * updatescipt() is called when a character can be written into the script file |
1415 * or when we have waited some time for a character (c == 0) | 1428 * or when we have waited some time for a character (c == 0) |
1416 * | 1429 * |