comparison runtime/doc/usr_11.txt @ 16453:4e9bea9b8025 v8.1.1231

patch 8.1.1231: asking about existing swap file unnecessarily commit https://github.com/vim/vim/commit/67cf86bfff5fd5224d557d81cb146f46e33b831c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 28 22:25:38 2019 +0200 patch 8.1.1231: asking about existing swap file unnecessarily 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)
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Apr 2019 22:30:06 +0200
parents 314694a2e74a
children af69c9335223
comparison
equal deleted inserted replaced
16452:a311ea84a94c 16453:4e9bea9b8025
1 *usr_11.txt* For Vim version 8.1. Last change: 2019 Feb 04 1 *usr_11.txt* For Vim version 8.1. Last change: 2019 Apr 28
2 2
3 VIM USER MANUAL - by Bram Moolenaar 3 VIM USER MANUAL - by Bram Moolenaar
4 4
5 Recovering from a crash 5 Recovering from a crash
6 6
203 extra line: 203 extra line:
204 204
205 NEWER than swap file! ~ 205 NEWER than swap file! ~
206 206
207 207
208 NOTE that in the following situation Vim knows the swap file is not useful and
209 will automatically delete it:
210 - The file is a valid swap file (Magic number is correct).
211 - The flag that the file was modified is not set.
212 - The process is not running.
213
214
208 UNREADABLE SWAP FILE 215 UNREADABLE SWAP FILE
209 216
210 Sometimes the line 217 Sometimes the line
211 218
212 [cannot be read] ~ 219 [cannot be read] ~