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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user