lcd wrote:
> On 20 August 2013, David Barnett <[email protected]> wrote:
> > Ensure ./foo doesn't exist, and do
> > :call mkdir('foo/bar/', 'p')
> >
> > Vim gives you an error:
> > E739: Cannot create directory: foo/bar/
> > but the directory was created just fine.
> >
> > Dropping the trailing slash works without error:
> > :call mkdir('foo/bar', 'p')
>
> Please try the patch below. It kills the trailing slash, which
> seems pretty awkward for a fix.
Thanks. With the "p" argument it can be done without modifying the
string, but without it we do have to remove the slash.
--
hundred-and-one symptoms of being an internet addict:
96. On Super Bowl Sunday, you followed the score by going to the
Yahoo main page instead of turning on the TV.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.