Mercurial > vim
changeset 1769:649d340f34d3 v7.2.067
updated for version 7.2-067
author | vimboss |
---|---|
date | Tue, 09 Dec 2008 10:18:03 +0000 |
parents | 2a11407a5a8f |
children | 6aea606c9e91 |
files | src/ex_docmd.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -10106,7 +10106,7 @@ makeopens(fd, dirnow) */ if (put_line(fd, "let s:sx = expand(\"<sfile>:p:r\").\"x.vim\"") == FAIL || put_line(fd, "if file_readable(s:sx)") == FAIL - || put_line(fd, " exe \"source \" . s:sx") == FAIL + || put_line(fd, " exe \"source \" . fnameescape(s:sx)") == FAIL || put_line(fd, "endif") == FAIL) return FAIL;