diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-28 22:25:38 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-28 22:25:38 +0200 |
commit | 67cf86bfff5fd5224d557d81cb146f46e33b831c (patch) | |
tree | 3ffaca7f4014f393ceb0216a2ec8fca091019c1c /runtime | |
parent | afde13b62b8fa25dac4635d5caee8d088b937ee0 (diff) | |
download | vim-git-67cf86bfff5fd5224d557d81cb146f46e33b831c.tar.gz |
patch 8.1.1231: asking about existing swap file unnecessarilyv8.1.1231
Problem: Asking about existing swap file unnecessarily.
Solution: When it is safe, delete the swap file. Remove
HAS_SWAP_EXISTS_ACTION, it is always defined. (closes #1237)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/usr_11.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/doc/usr_11.txt b/runtime/doc/usr_11.txt index bf09d2e07..54f0075b6 100644 --- a/runtime/doc/usr_11.txt +++ b/runtime/doc/usr_11.txt @@ -1,4 +1,4 @@ -*usr_11.txt* For Vim version 8.1. Last change: 2019 Feb 04 +*usr_11.txt* For Vim version 8.1. Last change: 2019 Apr 28 VIM USER MANUAL - by Bram Moolenaar @@ -205,6 +205,13 @@ something wrong. It may be one of these two situations. NEWER than swap file! ~ +NOTE that in the following situation Vim knows the swap file is not useful and +will automatically delete it: +- The file is a valid swap file (Magic number is correct). +- The flag that the file was modified is not set. +- The process is not running. + + UNREADABLE SWAP FILE Sometimes the line |