summaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-08-09 17:55:22 +0000
committerBram Moolenaar <Bram@vim.org>2008-08-09 17:55:22 +0000
commited39e1d53cc4916c2390aea635cd8419497c1460 (patch)
tree55d468c93579ad2607d56eade9fd6b685cd00c44 /runtime/doc/eval.txt
parenta6404a4e100ebe2081bd2678166604f402330143 (diff)
downloadvim-git-ed39e1d53cc4916c2390aea635cd8419497c1460.tar.gz
updated for version 7.2-000v7.2.000v7.2
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 3e24133c3..7959275e0 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.2c. Last change: 2008 Jul 16
+*eval.txt* For Vim version 7.2. Last change: 2008 Aug 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4033,8 +4033,12 @@ mkdir({name} [, {path} [, {prot}]])
If {prot} is given it is used to set the protection bits of
the new directory. The default is 0755 (rwxr-xr-x: r/w for
the user readable for others). Use 0700 to make it unreadable
- for others.
- This function is not available in the |sandbox|.
+ for others. This is only used for the last part of {name}.
+ Thus if you create /tmp/foo/bar then /tmp/foo will be created
+ with 0755.
+ Example: >
+ :call mkdir($HOME . "/tmp/foo/bar", "p", 0700)
+< This function is not available in the |sandbox|.
Not available on all systems. To check use: >
:if exists("*mkdir")
<