1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-16 00:13:32 +01:00

Fix for f09dc06283bef36e99e315b57acd16879c036410

This commit is contained in:
anekos
2009-02-18 21:20:43 +09:00
parent 60509096b3
commit 4a475bb234

View File

@@ -575,7 +575,7 @@ function Hints() //{{{
function (count) function (count)
{ {
extendedhintCount = count; extendedhintCount = count;
commandline.input(";", function (arg) { setTimeout(function () hints.show(arg), 0); }, commandline.input(";", null,
{ {
promptHighlight: "Normal", promptHighlight: "Normal",
completer: function (context) completer: function (context)
@@ -583,7 +583,8 @@ function Hints() //{{{
context.compare = function () 0; context.compare = function () 0;
context.completions = [[k, v.prompt] for ([k, v] in Iterator(hintModes))]; context.completions = [[k, v.prompt] for ([k, v] in Iterator(hintModes))];
}, },
onChange: function () { modes.pop() } onChange: function () { modes.pop() },
onCancel: function (arg) { arg && setTimeout(function () hints.show(arg), 0); },
}); });
}, { flags: Mappings.flags.COUNT }); }, { flags: Mappings.flags.COUNT });