Fix zero arity invocation of runtime_append_all_bundles

This commit is contained in:
Tim Pope
2014-03-20 16:59:45 -04:00
parent 0230129c50
commit a341581743
+1 -1
View File
@@ -210,7 +210,7 @@ function! pathogen#runtime_append_all_bundles(...) abort " {{{1
else
call s:warn('Change pathogen#runtime_append_all_bundles() to pathogen#infect()')
endif
return call('pathogen#interpose', map(copy(a:000),'v:val . "/{}"'))
return pathogen#interpose(a:0 ? a:1 . '/{}' : 'bundle/{}')
endfunction
let s:done_bundles = {}