1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-06 09:05:44 +01:00

Take groups into account for :style serialization and listing. Need utility functions for these things.

This commit is contained in:
Kris Maglione
2011-02-11 15:25:13 -05:00
parent a4257fe854
commit 92406a9cad
3 changed files with 94 additions and 43 deletions

View File

@@ -1348,7 +1348,7 @@ var Commands = Module("commands", {
if (!args.literalArg)
commands.list();
else {
util.assert(args["-group"] !== commands.builtin,
util.assert(args["-group"].modifiable,
"Cannot change commands in the builtin group");
let completer = args["-complete"];