comparison src/evalfunc.c @ 29888:a63d3a0e9aba v9.0.0282

patch 9.0.0282: a nested timout stops the previous timeout Commit: https://github.com/vim/vim/commit/0f618386367ba9388e1f50bc665bc1add6c01567 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 26 21:33:04 2022 +0100 patch 9.0.0282: a nested timout stops the previous timeout Problem: A nested timout stops the previous timeout. Solution: Ignore any nested timeout.
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 Aug 2022 22:45:06 +0200
parents 1342ee83ab97
children d8fc1effa724
comparison
equal deleted inserted replaced
29887:24c45f87cda4 29888:a63d3a0e9aba
9174 if ((flags & SP_NOMOVE) || retval == 0) 9174 if ((flags & SP_NOMOVE) || retval == 0)
9175 curwin->w_cursor = save_cursor; 9175 curwin->w_cursor = save_cursor;
9176 9176
9177 theend: 9177 theend:
9178 #ifdef FEAT_RELTIME 9178 #ifdef FEAT_RELTIME
9179 disable_regexp_timeout(); 9179 if (time_limit > 0)
9180 disable_regexp_timeout();
9180 #endif 9181 #endif
9181 vim_free(pat2); 9182 vim_free(pat2);
9182 vim_free(pat3); 9183 vim_free(pat3);
9183 if (p_cpo == empty_option) 9184 if (p_cpo == empty_option)
9184 p_cpo = save_cpo; 9185 p_cpo = save_cpo;