summaryrefslogtreecommitdiff
path: root/common/locale/en-US
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-02-11 04:54:41 -0500
committerKris Maglione <maglione.k@gmail.com>2011-02-11 04:54:41 -0500
commitc1f91ccc95b0ca1f08883c858dade024559e6f4b (patch)
treeb53c7b17726e86b6c1f05718f4a21229fb14f26c /common/locale/en-US
parent40709ea2e9b96258f533676808e86fb12d282626 (diff)
downloadpentadactyl-c1f91ccc95b0ca1f08883c858dade024559e6f4b.tar.gz
Update :au docs.
Diffstat (limited to 'common/locale/en-US')
-rw-r--r--common/locale/en-US/autocommands.xml17
1 files changed, 5 insertions, 12 deletions
diff --git a/common/locale/en-US/autocommands.xml b/common/locale/en-US/autocommands.xml
index f326c104..359aeacc 100644
--- a/common/locale/en-US/autocommands.xml
+++ b/common/locale/en-US/autocommands.xml
@@ -19,23 +19,21 @@
<item>
<tags>:au :autocmd</tags>
- <spec>:au<oa>tocmd</oa><oa>!</oa> <oa>events</oa> <oa>pat</oa> <oa>cmd</oa></spec>
+ <spec>:au<oa>tocmd</oa><oa>!</oa> <oa>events</oa> <oa>filter</oa> <oa>cmd</oa></spec>
<description>
<p>Execute commands automatically on events.</p>
<p>
When <oa>cmd</oa> is not given, list all commands
- defined for the given <oa>events</oa> and <oa>pat</oa>.
+ defined for the given <oa>events</oa> and <oa>filter</oa>.
When <oa>!</oa> is given, delete the matching commands
rather than listing them.
</p>
<p>
When <oa>cmd</oa> is given, add it to the list of commands to be
- executed when <oa>events</oa> occur for pages matching the regular
- expression <oa>pat</oa>. If <oa>pat</oa> is preceded by an
- unquoted <em>!</em>, then the autocommand is executed only for
- pages not matching the following regular expression. If the
+ executed when <oa>events</oa> occur for pages matching the
+ comma-separated list of <t>site-filters</t>, <oa>filter</oa>. If the
<em>-javascript</em> (short name <em>-js</em>) option is given,
<oa>cmd</oa> is interpreted as JavaScript code. Otherwise, it is
interpreted as an Ex command.
@@ -44,14 +42,9 @@
<p>
If the <em>-group</em>=<a>group</a> flag is given, add this autocmd
to the named <t>group</t>. Any filters for <a>group</a> apply in
- addition to <oa>pat</oa>.
+ addition to <oa>filter</oa>.
</p>
- <note>
- This behavior differs from Vim's implementation in that
- <oa>pat</oa> is a regular expression rather than a glob.
- </note>
-
<p>Available <oa>events</oa>:</p>
<dl tag="autocommand-list"/>