Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory usw-pr-cvs1:/tmp/cvs-serv16601/ftplugin/latex-suite
Modified Files:
compiler.vim
Log Message:
Fix it so that, after opening the error window, we return to the right window,
even if there is more than one other window.
Index: compiler.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** compiler.vim 12 Nov 2002 16:47:23 -0000 1.8
--- compiler.vim 13 Nov 2002 03:39:21 -0000 1.9
***************
*** 111,120 ****
exec 'make '.mainfname
! let bufnum = bufnr('%')
cwindow
" just open the cwindow, do not remain there...
! if bufnr('%') != bufnum
! wincmd w
! endif
exec 'cd '.curd
--- 111,118 ----
exec 'make '.mainfname
! let winnum = winnr('%')
cwindow
" just open the cwindow, do not remain there...
! execute winnum "wincmd w"
exec 'cd '.curd
|