1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 22:37:58 +01:00

Keep browser from exploding on <C-i> in Command Line mode.

This commit is contained in:
Kris Maglione
2011-08-08 15:26:24 -04:00
parent a3f2c02196
commit 4470f63f74
2 changed files with 17 additions and 5 deletions

View File

@@ -152,10 +152,12 @@ var AutoCommands = Module("autocommands", {
else
var { uri, doc } = buffer;
let baseArgs = update({ doc: doc }, arguments[1]);
event = event.toLowerCase();
for (let hive in values(this.matchingHives(uri, doc))) {
let args = update({},
hive.argsExtra(arguments[1]),
hive.argsExtra(baseArgs),
arguments[1]);
for (let autoCmd in values(hive._store))