1
0
forked from aniani/vim

patch 8.0.1328: trouble when using ":term ++close" with autocmd

Problem:    Trouble when using ":term ++close" with autocmd. (Gabriel Barta)
Solution:   Use aucmd_prepbuf() and aucmd_restbuf() instead of setting curbuf.
            (closes #2339)
This commit is contained in:
Bram Moolenaar
2017-11-21 14:47:57 +01:00
parent 91ffda9852
commit ff5467965e
3 changed files with 41 additions and 5 deletions

View File

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