From ed39e1d53cc4916c2390aea635cd8419497c1460 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 9 Aug 2008 17:55:22 +0000 Subject: updated for version 7.2-000 --- runtime/doc/eval.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'runtime/doc/eval.txt') 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") < -- cgit v1.2.1