comparison src/ex_docmd.c @ 1769:649d340f34d3 v7.2.067

updated for version 7.2-067
author vimboss
date Tue, 09 Dec 2008 10:18:03 +0000
parents f10fe14748e2
children 27d8fe1c0964
comparison
equal deleted inserted replaced
1768:2a11407a5a8f 1769:649d340f34d3
10104 /* 10104 /*
10105 * Lastly, execute the x.vim file if it exists. 10105 * Lastly, execute the x.vim file if it exists.
10106 */ 10106 */
10107 if (put_line(fd, "let s:sx = expand(\"<sfile>:p:r\").\"x.vim\"") == FAIL 10107 if (put_line(fd, "let s:sx = expand(\"<sfile>:p:r\").\"x.vim\"") == FAIL
10108 || put_line(fd, "if file_readable(s:sx)") == FAIL 10108 || put_line(fd, "if file_readable(s:sx)") == FAIL
10109 || put_line(fd, " exe \"source \" . s:sx") == FAIL 10109 || put_line(fd, " exe \"source \" . fnameescape(s:sx)") == FAIL
10110 || put_line(fd, "endif") == FAIL) 10110 || put_line(fd, "endif") == FAIL)
10111 return FAIL; 10111 return FAIL;
10112 10112
10113 return OK; 10113 return OK;
10114 } 10114 }