diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-06-24 15:51:37 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-06-24 15:51:37 +0000 |
commit | b849e713e2163bf3063b118a2c0a8e6ce88521fc (patch) | |
tree | d16a5901ea0859842ce1bb01792f8a854dd87531 | |
parent | f061e0befbea69304bc9e09a8d15dab36dabb024 (diff) | |
download | vim-git-b849e713e2163bf3063b118a2c0a8e6ce88521fc.tar.gz |
updated for version 7.2-216v7.2.216
-rw-r--r-- | runtime/doc/autocmd.txt | 12 | ||||
-rw-r--r-- | runtime/doc/if_mzsch.txt | 4 | ||||
-rw-r--r-- | src/if_mzsch.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
4 files changed, 15 insertions, 5 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 836f7d212..14d64ed9b 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -335,6 +335,8 @@ BufDelete Before deleting a buffer from the buffer list. NOTE: When this autocommand is executed, the current buffer "%" may be different from the buffer being deleted "<afile>" and "<abuf>". + Don't change to another buffer, it will cause + problems. *BufEnter* BufEnter After entering a buffer. Useful for setting options for a file type. Also executed when @@ -397,6 +399,8 @@ BufUnload Before unloading a buffer. This is when the NOTE: When this autocommand is executed, the current buffer "%" may be different from the buffer being unloaded "<afile>". + Don't change to another buffer, it will cause + problems. *BufWinEnter* BufWinEnter After a buffer is displayed in a window. This can be when the buffer is loaded (after @@ -428,6 +432,8 @@ BufWipeout Before completely deleting a buffer. The NOTE: When this autocommand is executed, the current buffer "%" may be different from the buffer being deleted "<afile>". + Don't change to another buffer, it will cause + problems. *BufWrite* *BufWritePre* BufWrite or BufWritePre Before writing the whole buffer to a file. *BufWriteCmd* @@ -748,8 +754,10 @@ SwapExists Detected an existing swap file when starting 'a' abort, like hitting CTRL-C When set to an empty string the user will be asked, as if there was no SwapExists autocmd. - Note: Do not try to change the buffer, the - results are unpredictable. + *E812* + It is not allowed to change to another buffer, + change a buffer name or change directory + here. *Syntax* Syntax When the 'syntax' option has been set. The pattern is matched against the syntax name. diff --git a/runtime/doc/if_mzsch.txt b/runtime/doc/if_mzsch.txt index d22544419..ceecdba30 100644 --- a/runtime/doc/if_mzsch.txt +++ b/runtime/doc/if_mzsch.txt @@ -1,4 +1,4 @@ -*if_mzsch.txt* For Vim version 7.2. Last change: 2009 May 26 +*if_mzsch.txt* For Vim version 7.2. Last change: 2009 Jun 24 VIM REFERENCE MANUAL by Sergey Khorev @@ -231,7 +231,7 @@ Windows *mzscheme-window* (set-cursor (line . col) [window]) Set cursor position. ============================================================================== -5. Dynamic loading *mzscheme-dynamic* *E812* +5. Dynamic loading *mzscheme-dynamic* *E815* On MS-Windows the MzScheme libraries can be loaded dynamically. The |:version| output then includes |+mzscheme/dyn|. diff --git a/src/if_mzsch.c b/src/if_mzsch.c index 017f8041e..1658fe43e 100644 --- a/src/if_mzsch.c +++ b/src/if_mzsch.c @@ -1040,7 +1040,7 @@ mzscheme_init(void) #ifdef DYNAMIC_MZSCHEME if (!mzscheme_enabled(TRUE)) { - EMSG(_("E812: Sorry, this command is disabled, the MzScheme libraries could not be loaded.")); + EMSG(_("E815: Sorry, this command is disabled, the MzScheme libraries could not be loaded.")); return -1; } #endif diff --git a/src/version.c b/src/version.c index e4ac33303..0fd4b7264 100644 --- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 216, +/**/ 215, /**/ 214, |