exists() instead of has() for checking shellslash

Closes #15.
This commit is contained in:
Marco Hinz 2013-03-27 17:38:33 +01:00
parent 0e3e9e9197
commit 884faa1fef

View File

@ -563,7 +563,7 @@ endfunction
" Functions -> s:s:escape() {{{1
function s:escape(path) abort
if has('+shellslash')
if exists('+shellslash')
let old_ssl = &shellslash
set noshellslash
endif