0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 9.0.1007: there is no way to get a list of swap file names

Problem:    There is no way to get a list of swap file names.
Solution:   Add the swapfilelist() function.  Use it in the test script to
            clean up.  Remove deleting individual swap files.
This commit is contained in:
Bram Moolenaar
2022-12-05 13:50:55 +00:00
parent 65214053f6
commit c216a7a21a
14 changed files with 104 additions and 71 deletions

View File

@@ -507,7 +507,7 @@ vim_main2(void)
*/
if (recoverymode && params.fname == NULL)
{
recover_names(NULL, TRUE, 0, NULL);
recover_names(NULL, TRUE, NULL, 0, NULL);
mch_exit(0);
}