Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv26999
Modified Files:
multicompile.vim
Log Message:
- A little rearrangement to make some functions faster.
Index: multicompile.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/multicompile.vim,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** multicompile.vim 2 Sep 2003 01:56:47 -0000 1.5
--- multicompile.vim 2 Sep 2003 07:07:23 -0000 1.6
***************
*** 119,123 ****
" buffer list.
" Tex_GotoTempFile: open a temp file. reuse from next time on {{{
- " Description:
function! Tex_GotoTempFile()
if !exists('s:tempFileName')
--- 119,122 ----
***************
*** 127,135 ****
endfunction " }}}
" Tex_IsPresentInFile: finds if a string str, is present in filename {{{
! " Description:
! function! Tex_IsPresentInFile(regexp, filename)
! if has('python') && g:Tex_UsePython
exec 'python isPresentInFile(r"'.a:regexp.'", r"'.a:filename.'")'
! else
call Tex_GotoTempFile()
--- 126,137 ----
endfunction " }}}
" Tex_IsPresentInFile: finds if a string str, is present in filename {{{
! if has('python') && g:Tex_UsePython
! function! Tex_IsPresentInFile(regexp, filename)
exec 'python isPresentInFile(r"'.a:regexp.'", r"'.a:filename.'")'
!
! return retval
! endfunction
! else
! function! Tex_IsPresentInFile(regexp, filename)
call Tex_GotoTempFile()
***************
*** 149,162 ****
endif
silent! bd
! endif
!
! return retval
! endfunction " }}}
" Tex_CatFile: returns the contents of a file in a <NL> seperated string {{{
! function! Tex_CatFile(filename)
! if has('python') && g:Tex_UsePython
" catFile assigns a value to retval
exec 'python catFile("'.a:filename.'")'
! else
if glob(a:filename) == ''
return ''
--- 151,167 ----
endif
silent! bd
! return retval
! endfunction
! endif " }}}
" Tex_CatFile: returns the contents of a file in a <NL> seperated string {{{
! if has('python') && g:Tex_UsePython
! function! Tex_CatFile(filename)
" catFile assigns a value to retval
exec 'python catFile("'.a:filename.'")'
!
! return retval
! endfunction
! else
! function! Tex_CatFile(filename)
if glob(a:filename) == ''
return ''
***************
*** 181,187 ****
let &report = _report
let &sc = _sc
! endif
! return retval
! endfunction
" }}}
--- 186,192 ----
let &report = _report
let &sc = _sc
! return retval
! endfunction
! endif
" }}}
|