Use `Tlist_Exe_Cmd_No_Acmds` instead of `exe`
This commit is contained in:
parent
9ca31e5053
commit
f0e236c1d5
|
@ -2623,7 +2623,7 @@ function! s:Tlist_Window_Toggle()
|
||||||
" set
|
" set
|
||||||
if !g:Tlist_GainFocus_On_ToggleOpen
|
if !g:Tlist_GainFocus_On_ToggleOpen
|
||||||
let prev_win = bufwinnr(current_buf)
|
let prev_win = bufwinnr(current_buf)
|
||||||
exe prev_win . 'wincmd w'
|
call s:Tlist_Exe_Cmd_No_Acmds(prev_win . 'wincmd w')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Update the taglist menu
|
" Update the taglist menu
|
||||||
|
|
Loading…
Reference in New Issue