File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -352,15 +352,17 @@ endfunc
352352" Closing a window might cause an endless loop
353353" E814 for older Vims
354354func Test_autocmd_bufwipe_in_SessLoadPost ()
355+ edit Xtest
355356 tabnew
357+ file Xsomething
356358 set noswapfile
357359 mksession !
358360
359361 let content = [' set nocp noswapfile' ,
360362 \ ' let v:swapchoice="e"' ,
361363 \ ' augroup test_autocmd_sessionload' ,
362364 \ ' autocmd!' ,
363- \ ' autocmd SessionLoadPost * 4bw! ' ,
365+ \ ' autocmd SessionLoadPost * exe bufnr("Xsomething") . "bw!" ' ,
364366 \ ' augroup END' ,
365367 \ ' ' ,
366368 \ ' func WriteErrors()' ,
Original file line number Diff line number Diff line change @@ -761,6 +761,8 @@ static char *(features[]) =
761761
762762static int included_patches [] =
763763{ /* Add new patch number below this line */
764+ /**/
765+ 1188 ,
764766/**/
765767 1187 ,
766768/**/
You can’t perform that action at this time.
0 commit comments