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

Fix eaten error.

This commit is contained in:
Kris Maglione
2011-04-08 23:21:24 -04:00
parent e88490ef7d
commit eaf624eefc
2 changed files with 5 additions and 2 deletions

View File

@@ -78,7 +78,6 @@ command.invalidOptArg-2 = Invalid argument for option %S: %S
command.invalidOptTypeArg-3 = Invalid argument for %S option %S: %S
command.parsing-1 = Error parsing arguments: %S
command.none = No user-defined commands found
command.unknownCompleter-1 = E117: Unknown function: %S
command.exists = E174: Command already exists: add ! to replace it
command.noPrevious = E30: No previous command line
command.noRange = E481: No range allowed

View File

@@ -1377,6 +1377,7 @@ var Commands = Module("commands", {
}
catch (e) {
util.reportError(e);
cmdContext.message = _("error.error", e);
}
};
@@ -1424,8 +1425,11 @@ var Commands = Module("commands", {
return context.completions = result;
};
}
else
else {
util.assert(set.has(config.completers, completer),
_("command.unknownCompleter", completer));
completerFunc = function (context) modules.completion.closure[config.completers[completer]](context);
}
}
let added = args["-group"].add(cmd.split(","),