0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

Missing part of 8.0.1131.

This commit is contained in:
Bram Moolenaar
2017-09-22 11:13:52 +02:00
parent fc7649f8b8
commit 8b21de33bb

View File

@@ -448,6 +448,12 @@ term_start(typval_T *argvar, jobopt_T *opt, int forceit)
* a deadlock if the job is waiting for Vim to read. */
channel_set_nonblock(term->tl_job->jv_channel, PART_IN);
#ifdef FEAT_AUTOCMD
++curbuf->b_locked;
apply_autocmds(EVENT_BUFWINENTER, NULL, NULL, FALSE, curbuf);
--curbuf->b_locked;
#endif
if (old_curbuf != NULL)
{
--curbuf->b_nwindows;