File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12007,7 +12007,7 @@ ses_arglist(
1200712007
1200812008 if (fputs (cmd , fd ) < 0 || put_eol (fd ) == FAIL )
1200912009 return FAIL ;
12010- if (put_line (fd , "silent! argdel * " ) == FAIL )
12010+ if (put_line (fd , "% argdel" ) == FAIL )
1201112011 return FAIL ;
1201212012 for (i = 0 ; i < gap -> ga_len ; ++ i )
1201312013 {
Original file line number Diff line number Diff line change @@ -415,4 +415,16 @@ func Test_mkview_no_file_name()
415415 % bwipe
416416endfunc
417417
418+ " A clean session (one empty buffer, one window, and one tab) should not
419+ " set any error messages when sourced because no commands should fail.
420+ func Test_mksession_no_errmsg ()
421+ let v: errmsg = ' '
422+ % bwipe!
423+ mksession ! Xtest_mks.out
424+ source Xtest_mks.out
425+ call assert_equal (' ' , v: errmsg )
426+ call delete (' Xtest_mks.out' )
427+ endfunc
428+
429+
418430" vim: shiftwidth = 2 sts = 2 expandtab
Original file line number Diff line number Diff line change @@ -791,6 +791,8 @@ static char *(features[]) =
791791
792792static int included_patches [] =
793793{ /* Add new patch number below this line */
794+ /**/
795+ 789 ,
794796/**/
795797 788 ,
796798/**/
You can’t perform that action at this time.
0 commit comments