if inverse search invoked for the first time, then check if viewer open

This commit is contained in:
Enno Nagel 2015-01-13 12:27:46 +01:00
parent a9444bd4b6
commit 17f184a866

View File

@ -125,9 +125,8 @@ function! latex#view#mupdf_rsearch() "{{{1
let mupdf_id = data.mupdf_id let mupdf_id = data.mupdf_id
if mupdf_id == 0 let data.mupdf_rsearch = {}
return let outfile = data.out()
endif
" Get page number " Get page number
let cmd = "xdotool getwindowname " . mupdf_id let cmd = "xdotool getwindowname " . mupdf_id