Mercurial > vim
changeset 11583:ef8b233f07ae v8.0.0674
patch 8.0.0674: cannot build with eval but without timers
commit https://github.com/vim/vim/commit/5d7be4f0fa04a9210a14fca69b4f9e34613b378f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 25 13:40:17 2017 +0200
patch 8.0.0674: cannot build with eval but without timers
Problem: Cannot build with eval but without timers.
Solution: Add #ifdef (John Marriott)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 25 Jun 2017 13:45:03 +0200 |
parents | 5944758f4092 |
children | 25b2326c3b3c |
files | src/evalfunc.c src/version.c |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -3191,7 +3191,11 @@ f_feedkeys(typval_T *argvars, typval_T * ins_typebuf(keys_esc, (remap ? REMAP_YES : REMAP_NONE), insert ? 0 : typebuf.tb_len, !typed, FALSE); vim_free(keys_esc); - if (vgetc_busy || timer_busy) + if (vgetc_busy +#ifdef FEAT_TIMERS + || timer_busy +#endif + ) typebuf_was_filled = TRUE; if (execute) {