diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-04-04 16:57:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-04-04 16:57:21 +0100 |
commit | 188639d75c363dffaf813e8e2209f7350ad1e871 (patch) | |
tree | 5ad1a2954a8a4a821125a7f20e9667a85f3a6196 /src/vim.h | |
parent | cc766a85f460ebb7f8c915508447548b5f5b99bc (diff) |
patch 8.2.4685: when a swap file is found for a popup there is no dialogv8.2.4685
Problem: When a swap file is found for a popup there is no dialog and the
buffer is loaded anyway.
Solution: Silently load the buffer read-only. (closes #10073)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1250,6 +1250,7 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring); #define SEA_DIALOG 1 // use dialog when possible #define SEA_QUIT 2 // quit editing the file #define SEA_RECOVER 3 // recover the file +#define SEA_READONLY 4 // no dialog, mark buffer as read-only /* * Minimal size for block 0 of a swap file. |