Patch 9.0.1034

3 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 8, 2022, 11:30:49 AM12/8/22
to vim...@googlegroups.com

Patch 9.0.1034
Problem: Reporting swap file when windows are split.
Solution: Close extra windows after running a test.
Files: src/testdir/runtest.vim


*** ../vim-9.0.1033/src/testdir/runtest.vim 2022-12-06 15:07:51.744470475 +0000
--- src/testdir/runtest.vim 2022-12-08 09:33:47.340125125 +0000
***************
*** 365,370 ****
--- 365,375 ----
call add(s:messages, message)
let s:done += 1

+ " close any split windows
+ while winnr('$') > 1
+ bwipe!
+ endwhile
+
" May be editing some buffer, wipe it out. Then we may end up in another
" buffer, continue until we end up in an empty no-name buffer without a swap
" file.
*** ../vim-9.0.1033/src/version.c 2022-12-08 16:09:57.936588830 +0000
--- src/version.c 2022-12-08 16:30:00.091509194 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1034,
/**/

--
hundred-and-one symptoms of being an internet addict:
268. You get up in the morning and go online before getting your coffee.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages