diff options
author | Christian Brabandt <cb@256bit.org> | 2021-07-25 14:36:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-25 14:36:05 +0200 |
commit | 8a4c812ede5b01a8e71082c1ff4ebfcbf1bd515f (patch) | |
tree | 2da838678bac4dd3d5fa1681e818517421e0e86b /src/proto/undo.pro | |
parent | 3ed0d9379683246a77aa8c1a59da7a0ac6395339 (diff) |
patch 8.2.3218: when using xchaha20 crypt undo file is not removedv8.2.3218
Problem: When using xchaha20 crypt undo file is not removed.
Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
closes #8630, closes #8467)
Diffstat (limited to 'src/proto/undo.pro')
-rw-r--r-- | src/proto/undo.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/undo.pro b/src/proto/undo.pro index 97dbef37cd..851d281f30 100644 --- a/src/proto/undo.pro +++ b/src/proto/undo.pro @@ -27,5 +27,6 @@ int anyBufIsChanged(void); int bufIsChangedNotTerm(buf_T *buf); int curbufIsChanged(void); void f_undofile(typval_T *argvars, typval_T *rettv); +void u_undofile_reset_and_delete(buf_T *buf); void f_undotree(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */ |