summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-28 22:25:38 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-28 22:25:38 +0200
commit67cf86bfff5fd5224d557d81cb146f46e33b831c (patch)
tree3ffaca7f4014f393ceb0216a2ec8fca091019c1c /runtime
parentafde13b62b8fa25dac4635d5caee8d088b937ee0 (diff)
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.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/doc/usr_11.txt b/runtime/doc/usr_11.txt
index bf09d2e079..54f0075b6c 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