Mercurial > vim
comparison src/testdir/test_ex_mode.vim @ 29148:8e87a5d2284c v8.2.5094
patch 8.2.5094: MS-Windows GUI: empty command may cause a dialog
Commit: https://github.com/vim/vim/commit/217ea51ee4c4cb6cf690eb0da70cc4c81291aa2e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 14 17:13:59 2022 +0100
patch 8.2.5094: MS-Windows GUI: empty command may cause a dialog
Problem: MS-Windows GUI: empty command may cause a dialog.
Solution: Delete the dialog file. Improve the message.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 14 Jun 2022 18:15:03 +0200 |
parents | 0ae0946ebf9b |
children | b43cb3fd0c7b |
comparison
equal
deleted
inserted
replaced
29147:df7cd667ac19 | 29148:8e87a5d2284c |
---|---|
259 END | 259 END |
260 call writefile(lines, 'Xexmodescript') | 260 call writefile(lines, 'Xexmodescript') |
261 call assert_equal(1, RunVim([], [], '-u NONE -e -s -S Xexmodescript')) | 261 call assert_equal(1, RunVim([], [], '-u NONE -e -s -S Xexmodescript')) |
262 | 262 |
263 call delete('Xexmodescript') | 263 call delete('Xexmodescript') |
264 | |
265 " This may cause a dialog to be displayed for an empty command, ignore it. | |
266 call delete('guidialogfile') | |
264 endfunc | 267 endfunc |
265 | 268 |
266 | 269 |
267 " vim: shiftwidth=2 sts=2 expandtab | 270 " vim: shiftwidth=2 sts=2 expandtab |