Use function 'executable' to check if command 'identify' is available

This commit is contained in:
Diego Pino
2013-02-08 22:38:11 +01:00
parent c088101cb7
commit 760d00cb89

View File

@@ -242,5 +242,5 @@ function! zencoding#util#imageSizeWithImageMagick(fn)
endfunction
function! zencoding#util#isImageMagickInstalled()
return !(empty(system('command identify')))
return executable('identify')
endfunction