diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-26 12:25:45 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-26 12:25:45 +0000 |
commit | c51cf0329809c7ae946c59d6f56699227efc9d1b (patch) | |
tree | 825302ef0857905dbf08dc584ef6d6a8aae27790 /runtime/doc/undo.txt | |
parent | e41c1dd8890d3f701253255993f4e9af2d12225c (diff) |
Update runtime files.
Diffstat (limited to 'runtime/doc/undo.txt')
-rw-r--r-- | runtime/doc/undo.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt index fabee453d8..4a0ea040e7 100644 --- a/runtime/doc/undo.txt +++ b/runtime/doc/undo.txt @@ -286,12 +286,12 @@ history file. E.g.: > au BufReadPost * call ReadUndo() au BufWritePost * call WriteUndo() func ReadUndo() - if filereadable(expand('%:h'). '/UNDO/' . expand('%:t')) + if filereadable(expand('%:h') .. '/UNDO/' .. expand('%:t')) rundo %:h/UNDO/%:t endif endfunc func WriteUndo() - let dirname = expand('%:h') . '/UNDO' + let dirname = expand('%:h') .. '/UNDO' if !isdirectory(dirname) call mkdir(dirname) endif |