updated for version 7.0232
diff --git a/runtime/autoload/vimball.vim b/runtime/autoload/vimball.vim
index 6af6658..6fa9a0d 100644
--- a/runtime/autoload/vimball.vim
+++ b/runtime/autoload/vimball.vim
@@ -1,7 +1,7 @@
" vimball : construct a file containing both paths and files
" Author: Charles E. Campbell, Jr.
-" Date: Mar 20, 2006
-" Version: 4
+" Date: Mar 22, 2006
+" Version: 5
" GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim
" Copyright: (c) 2004-2006 by Charles E. Campbell, Jr.
" The VIM LICENSE applies to Vimball.vim, and Vimball.txt
@@ -15,7 +15,7 @@
finish
endif
let s:keepcpo = &cpo
-let g:loaded_vimball = "v4"
+let g:loaded_vimball = "v5"
set cpo&vim
" =====================================================================
@@ -94,12 +94,10 @@
" write the vimball
exe "tabn ".vbtabnr
exe "cd ".curdir
- if a:really
- if a:writelevel
- exe "w! ".vbname
- else
- exe "w ".vbname
- endif
+ if a:writelevel
+ exe "w! ".vbname
+ else
+ exe "w ".vbname
endif
" call Decho("Vimball<".vbname."> created")
echo "Vimball<".vbname."> created"
@@ -205,8 +203,10 @@
" call Decho("rega<".@a.">")
" write tab to file
-" call Decho("exe w! ".fname)
- exe "silent w! ".fname
+ if a:really
+" call Decho("exe w! ".fname)
+ exe "silent w! ".fname
+ endif
" call Decho("exe tabn ".curtabnr)
exe "tabn ".curtabnr
@@ -224,7 +224,7 @@
endif
" make sure a "Press ENTER..." prompt appears to keep the messages showing!
- while filecnt < &ch
+ while filecnt <= &ch
echomsg " "
let filecnt= filecnt + 1
endwhile
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index 9ffde22..72fa5e3 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -1088,6 +1088,7 @@
|:cexpr| :cex[pr] read errors from expr and jump to first
|:cfile| :cf[ile] read file with error messages and jump to first
|:cfirst| :cfir[st] go to the specified error, default first one
+|:cgetexpr| :cgete[xpr] get errors from expr
|:cgetfile| :cg[etfile] read file with error messages
|:changes| :cha[nges] print the change list
|:chdir| :chd[ir] change directory
@@ -1241,6 +1242,7 @@
|:lexpr| :lex[pr] read locations from expr and jump to first
|:lfile| :lf[ile] read file with locations and jump to first
|:lfirst| :lfir[st] go to the specified location, default first one
+|:lgetexpr| :lgete[xpr] get locations from expr
|:lgetfile| :lg[etfile] read file with locations
|:lgrep| :lgr[ep] run 'grepprg' and jump to first match
|:lgrepadd| :lgrepa[dd] like :grep, but append to current list