diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-05-01 21:14:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-05-01 21:14:34 +0200 |
commit | 8071607aa5e6f4decd2c3ba0a41cf2b3498b6f1e (patch) | |
tree | b89b0ce21c32df983ad6b857b3ac55188a0f58ed /runtime/doc/eval.txt | |
parent | 2d0b92f8f9f765f2707a98a3493903f895c87c7f (diff) | |
download | vim-git-8071607aa5e6f4decd2c3ba0a41cf2b3498b6f1e.tar.gz |
More runtime file fixes for 'compatible' mode.
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index be31f44bd..91ee7f497 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.3. Last change: 2012 Apr 25 +*eval.txt* For Vim version 7.3. Last change: 2012 Apr 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -5964,6 +5964,8 @@ undofile({name}) *undofile()* the undo file exists. {name} is always expanded to the full path, since that is what is used internally. + If {name} is empty undofile() returns an empty string, since a + buffer without a file name will not write an undo file. Useful in combination with |:wundo| and |:rundo|. When compiled without the +persistent_undo option this always returns an empty string. |