diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-08-08 10:59:17 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-08-08 10:59:17 +0000 |
commit | 1b24e4b59901627fb6ac0303dd27b94f8bb2c396 (patch) | |
tree | 4bab71d94c65884f78990dceaa26e773ac36176a /runtime/doc | |
parent | dc9cf9cd6d48ad9c6e25427f958401adc4a913ac (diff) | |
download | vim-1b24e4b59901627fb6ac0303dd27b94f8bb2c396.zip |
updated for version 7.2c-002
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 8bb990a05..3e24133c3 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -2832,11 +2832,13 @@ fnameescape({string}) *fnameescape()* For most systems the characters escaped are " \t\n*?[{`$\\%#'\"|!<". For systems where a backslash appears in a filename, it depends on the value of 'isfname'. + A leading '+' and '>' is also escaped (special after |:edit| + and |:write|). And a "-" by itself (special after |:cd|). Example: > - :let fname = 'some str%nge|name' + :let fname = '+some str%nge|name' :exe "edit " . fnameescape(fname) < results in executing: > - edit some\ str\%nge\|name + edit \+some\ str\%nge\|name fnamemodify({fname}, {mods}) *fnamemodify()* Modify file name {fname} according to {mods}. {mods} is a |