fix path escaping for Path._strForCd()

This commit is contained in:
marty 2009-09-13 14:05:28 +12:00
parent a1e7bc0b01
commit f772cfdefb

View File

@ -2250,11 +2250,7 @@ endfunction
"
" returns a string that can be used with :cd
function! s:Path._strForCd()
if s:running_windows
return self.str()
else
return self.str({'escape': 1})
endif
return escape(self.str(), s:escape_chars)
endfunction
"FUNCTION: Path._strForEdit() {{{3
"