diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-09-05 10:59:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-09-05 10:59:47 +0000 |
commit | 9fecb460fea33e190904e70274345e42fb44ed52 (patch) | |
tree | ce0f4442c1bc1a78c5fe1285615e3b38341f399c /src/main.c | |
parent | 203335e4a9a4fb4c2d034fe950bdb12043b93f6e (diff) | |
download | vim-git-9fecb460fea33e190904e70274345e42fb44ed52.tar.gz |
updated for version 7.0-084v7.0.084
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 5051adbf9..f903d06e2 100644 --- a/src/main.c +++ b/src/main.c @@ -1130,6 +1130,16 @@ main_loop(cmdwin, noexmode) */ update_curswant(); +#ifdef FEAT_EVAL + /* + * May perform garbage collection when waiting for a character, but + * only at the very toplevel. Otherwise we may be using a List or + * Dict internally somewhere. + * "may_garbage_collect" is reset in vgetc() which is invoked through + * do_exmode() and normal_cmd(). + */ + may_garbage_collect = (!cmdwin && !noexmode); +#endif /* * If we're invoked as ex, do a round of ex commands. * Otherwise, get and execute a normal mode command. |