From e6b7d94e435b1004d139b1b2adbd795ea1ac6570 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 18 Oct 2010 16:52:32 -0400 Subject: [PATCH] Use modes.set in autocmd-examples rather than modes.push. --- common/locale/en-US/autocommands.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/locale/en-US/autocommands.xml b/common/locale/en-US/autocommands.xml index a27301ea..e11bce4e 100644 --- a/common/locale/en-US/autocommands.xml +++ b/common/locale/en-US/autocommands.xml @@ -90,11 +90,11 @@

Enable passthrough mode on all Google sites:

-:autocmd LocationChange google\.com -js modes.push(modes.PASS_THROUGH) +:autocmd LocationChange google\.com -js modes.set(modes.PASS_THROUGH)

Enable passthrough mode on some Google sites:

-:autocmd LocationChange (www|mail)\.google\.com -js modes.push(modes.PASS_THROUGH) +:autocmd LocationChange (www|mail)\.google\.com -js modes.set(modes.PASS_THROUGH)

Set the filetype to mail when editing email at Gmail: