diff options
author | Kris Maglione <maglione.k@gmail.com> | 2010-10-11 02:47:07 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2010-10-11 02:47:07 -0400 |
commit | 4efc6a3972cc6d953059b5115b094141f82c6d88 (patch) | |
tree | 9eed7cdbed87790d0038c2ee7056e34b769da535 /common/content/autocommands.js | |
parent | 5a670ebd7b0a3500667a91866f7862033b4c4540 (diff) | |
download | pentadactyl-4efc6a3972cc6d953059b5115b094141f82c6d88.tar.gz |
Allow things like :com! foo\n \ echo 1\n \ echo 2
Diffstat (limited to 'common/content/autocommands.js')
-rw-r--r-- | common/content/autocommands.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/autocommands.js b/common/content/autocommands.js index d225c713..8aad6061 100644 --- a/common/content/autocommands.js +++ b/common/content/autocommands.js @@ -169,7 +169,7 @@ const AutoCommands = Module("autocommands", { cmd.toString = function toString() "-javascript " + cmd.source; } else { - cmd = function cmd(args) dactyl.execute(commands.replaceTokens(cmd.source, args), null, true, cmd.sourcing); + cmd = function cmd(args) commands.execute(cmd.source, args, false, null, cmd.sourcing); cmd.sourcing = io.sourcing && update({}, io.sourcing); cmd.toString = function toString() cmd.source; } |