man.vim: call s:error in man#read_page (#6362)

The comment is incorrect, s:error does need to be called. I thought the
call was unnecessary because it didn't show any message for me but I had
shortmess+=F which was hiding the message.
This commit is contained in:
Anmol Sethi 2017-03-25 17:43:25 -04:00 committed by Justin M. Keyes
parent 098e91400e
commit a346cb1d58

View File

@ -79,7 +79,7 @@ function! man#read_page(ref) abort
let [sect, name, path] = s:verify_exists(sect, name)
let page = s:get_page(path)
catch
" call to s:error() is unnecessary
call s:error(v:exception)
return
endtry
let b:man_sect = sect