Problem: Using "aucmdwin" in win_gettype() is not ideal.
Solution: Rename to "autocmd".
win_gettype([{nr}]) *win_gettype()*
Return the type of the window:
- "aucmdwin" autocommand window. Temporary window
+ "autocmd" autocommand window. Temporary window
used to execute autocommands.
"popup" popup window |popup|
"preview" preview window |preview-window|
}
}
if (wp == aucmd_win)
- rettv->vval.v_string = vim_strsave((char_u *)"aucmdwin");
+ rettv->vval.v_string = vim_strsave((char_u *)"autocmd");
#if defined(FEAT_QUICKFIX)
else if (wp->w_p_pvw)
rettv->vval.v_string = vim_strsave((char_u *)"preview");
augroup END
doautoall BufEnter
- call assert_equal([['one.txt', 'aucmdwin'], ['two.txt', '']], g:blist)
+ call assert_equal([['one.txt', 'autocmd'], ['two.txt', '']], g:blist)
augroup aucmd_win_test
au!
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 996,
/**/
995,
/**/