Mercurial > vim
diff runtime/doc/eval.txt @ 2249:6d3d35ff2c2b vim73
Use full path in undofile(). Updated docs.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 05 Jun 2010 17:43:32 +0200 |
parents | dc2e5ec0500d |
children | 1bac28a53fae |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1286,7 +1286,7 @@ v:beval_winnr The number of the window, *v:char* *char-variable* v:char Argument for evaluating 'formatexpr' and used for the typed - character when using <expr> in an abbreviation |map-<expr>|. + character when using <expr> in an abbreviation |:map-<expr>|. *v:charconvert_from* *charconvert_from-variable* v:charconvert_from @@ -5773,6 +5773,8 @@ undofile({name}) *undofile()* with name {name} when writing. This uses the 'undodir' option, finding directories that exist. It does not check if the undo file exist. + {name} is always expanded to the full path, since that is what + is used internally. Useful in combination with |:wundo| and |:rundo|. When compiled without the +persistent_undo option this always returns an empty string.