lib/vmail.vim in vmail-2.9.9 vs lib/vmail.vim in vmail-2.9.10
- old
+ new
@@ -78,10 +78,10 @@
close
endfunction
function! s:system_with_error_handling(command)
let res = system(a:command)
- if res =~ 'VMAIL_ERROR'
+ if res =~ 'VMAIL_ERROR' && res !~ '\| (Re: )? \[\w\+/vmail\] VMAIL_ERROR'
echoe "ERROR" res
return ""
else
return res
end