diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-31 20:07:33 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-31 20:07:33 +0200 |
commit | dad4473f02e1fec86d43a2fc094536a4b27d3b25 (patch) | |
tree | 4a4bf9401af5629b17baa31380edf4563618685e /runtime/doc/autocmd.txt | |
parent | ae0f151ddf76dcbb233cff02282deb4f98a355ec (diff) |
Update runtime files.
Diffstat (limited to 'runtime/doc/autocmd.txt')
-rw-r--r-- | runtime/doc/autocmd.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 20a8f4b49a..328d6ff6a5 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 8.2. Last change: 2021 Jan 28 +*autocmd.txt* For Vim version 8.2. Last change: 2021 Mar 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1519,9 +1519,11 @@ option will not cause any commands to be executed. *:doautoa* *:doautoall* :doautoa[ll] [<nomodeline>] [group] {event} [fname] Like ":doautocmd", but apply the autocommands to each - loaded buffer. Note that [fname] is used to select - the autocommands, not the buffers to which they are - applied. + loaded buffer. The current buffer is done last. + + Note that [fname] is used to select the autocommands, + not the buffers to which they are applied. + Careful: Don't use this for autocommands that delete a buffer, change to another buffer or change the contents of a buffer; the result is unpredictable. |