Problem: MS-Windows GUI: empty command may cause a dialog.
Solution: Delete the dialog file. Improve the message.
endif
if filereadable('guidialogfile')
- call add(v:errors, "Unexpected dialog:")
- call add(v:errors, readfile('guidialogfile').join('\n'))
+ call add(v:errors, "Unexpected dialog: " .. readfile('guidialogfile')->join('<NL>'))
call delete('guidialogfile')
endif
call assert_equal(1, RunVim([], [], '-u NONE -e -s -S Xexmodescript'))
call delete('Xexmodescript')
+
+ " This may cause a dialog to be displayed for an empty command, ignore it.
+ call delete('guidialogfile')
endfunc
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 5094,
/**/
5093,
/**/