1
0
forked from aniani/vim

patch 8.2.0302: setting 'term' may cause error in TermChanged autocommand

Problem:    Setting 'term' may cause error in TermChanged autocommand.
Solution:   Use aucmd_prepbuf() to switch to the buffer where the autocommand
            is to be executed. (closes #5682)
This commit is contained in:
Bram Moolenaar
2020-02-22 22:45:55 +01:00
parent b654103ad1
commit 0c81d1b112
3 changed files with 30 additions and 5 deletions

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
302,
/**/
301,
/**/