1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-29 10:05:46 +01:00

Sizing hacks for REPL modes.

This commit is contained in:
Kris Maglione
2011-10-04 00:43:02 -04:00
parent 64df9d9740
commit f1e4e9958c
6 changed files with 29 additions and 39 deletions

View File

@@ -128,13 +128,10 @@ var Map = Class("Map", {
if (this.names[0] != ".") // FIXME: Kludge.
mappings.repeat = repeat;
if (this.executing) {
if (args.keypressEvents[0].isMacro) {
util.dumpStack(_("map.recursive", args.command));
throw FailedAssertion(_("map.recursive", args.command));
}
this.executing = false;
}
if (this.executing)
util.assert(!args.keypressEvents[0].isMacro,
_("map.recursive", args.command),
false);
try {
this.preExecute(args);