Minor tweak to latexmk#errors

This commit is contained in:
Karl Yngve Lervåg 2013-11-15 08:54:48 +01:00
parent d2cf008545
commit 96207acf4f

View File

@ -107,17 +107,16 @@ endfunction
" {{{1 latex#latexmk#errors " {{{1 latex#latexmk#errors
function! latex#latexmk#errors() function! latex#latexmk#errors()
let log = g:latex#data[b:latex.id].log()
cclose cclose
let log = g:latex#data[b:latex.id].log()
if g:latex_latexmk_autojump if g:latex_latexmk_autojump
execute 'cfile ' . log execute 'cfile ' . log
else else
execute 'cgetfile ' . log execute 'cgetfile ' . log
endif endif
botright copen botright cwindow
endfunction endfunction
" {{{1 latex#latexmk#status " {{{1 latex#latexmk#status