Mercurial > vim
diff runtime/doc/autocmd.txt @ 39:410fa1a31baf v7.0023
updated for version 7.0023
author | vimboss |
---|---|
date | Sun, 19 Dec 2004 22:46:22 +0000 |
parents | 404aac550f35 |
children | f1d2a58883b9 |
line wrap: on
line diff
--- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Sep 17 +*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Dec 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -230,8 +230,10 @@ BufWritePost After writing the whole b *BufWriteCmd* BufWriteCmd Before writing the whole buffer to a file. Should do the writing of the file and reset - 'modified' if successful. The buffer contents - should not be changed. |Cmd-event| + 'modified' if successful, unless '+' is in + 'cpo' and writing to another file |cpo-+|. + The buffer contents should not be changed. + |Cmd-event| *FileWritePre* FileWritePre Before writing to a file, when not writing the whole buffer. Use the '[ and '] marks for the