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

Fix the MIW.

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-24 16:55:43 -05:00
parent 5e8a11fe69
commit dbfd64729e
3 changed files with 42 additions and 37 deletions

View File

@@ -110,6 +110,8 @@ var Map = Class("Map", {
if (this.names[0] != ".") // FIXME: Kludge.
mappings.repeat = repeat;
if (this.executing)
util.dumpStack("Attempt to execute mapping recursively: " + args.command);
dactyl.assert(!this.executing, "Attempt to execute mapping recursively: " + args.command);
this.executing = true;
let res = dactyl.trapErrors(repeat);