summaryrefslogtreecommitdiff
path: root/runtime/doc/autocmd.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-02-12 00:18:58 +0100
committerBram Moolenaar <Bram@vim.org>2012-02-12 00:18:58 +0100
commita61d5fbf7ac9bfa0083faa926ad4015bf7125309 (patch)
tree2741fe445bf4945baefbcd4995dc4b0a1dbe5197 /runtime/doc/autocmd.txt
parent28f2908d95a6c96801ebdb17735242a81295d095 (diff)
downloadvim-a61d5fbf7ac9bfa0083faa926ad4015bf7125309.zip
updated for version 7.3.438
Problem: There is no way to avoid ":doautoall" reading modelines. Solution: Add the <nomodeline> argument. Adjust documentation.
Diffstat (limited to 'runtime/doc/autocmd.txt')
-rw-r--r--runtime/doc/autocmd.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index ff0b403ee..1e2bc7737 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1073,13 +1073,8 @@ option will not cause any commands to be executed.
autocommands for that group. Note: if you use an
undefined group name, Vim gives you an error message.
- After applying the autocommands the modelines are
- processed, so that their settings overrule the
- settings from autocommands, like what happens when
- editing a file.
-
*:doautoa* *:doautoall*
-:doautoa[ll] [group] {event} [fname]
+: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
@@ -1090,6 +1085,12 @@ option will not cause any commands to be executed.
This command is intended for autocommands that set
options, change highlighting, and things like that.
+ After applying the autocommands the modelines are
+ processed, so that their settings overrule the
+ settings from autocommands, like what happens when
+ editing a file. This is skipped when the <nomodeline>
+ argument is present.
+
==============================================================================
10. Using autocommands *autocmd-use*