diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-13 13:40:16 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-13 13:40:16 +0200 |
commit | 03a9f848175b182372fb33403998059724a8bf31 (patch) | |
tree | 473f2bb5d40cffb5821443a2956a6c700c1fff44 /src/testdir/runtest.vim | |
parent | d502aa4c10771ec8eb570345ec5e124c4a4b7cd0 (diff) | |
download | vim-git-03a9f848175b182372fb33403998059724a8bf31.tar.gz |
patch 8.2.0747: cannot forcefully close all popupsv8.2.0747
Problem: Cannot forcefully close all popups.
Solution: Add the "force" argument to popup_clear(). Use it after running a
test. Put back the check for a popup when editing a file.
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r-- | src/testdir/runtest.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 13d4784e4..b9d85f4bb 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -188,9 +188,9 @@ func RunTheTest(test) au! au SwapExists * call HandleSwapExists() - " Close any stray popup windows + " Close any stray popup windows. if has('popupwin') - call popup_clear() + call popup_clear(1) endif " Close any extra tab pages and windows and make the current one not modified. |