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

fix some arg redeclarations

This commit is contained in:
Doug Kearns
2008-09-28 12:51:53 +00:00
parent dfb86f7471
commit c076c8be0f
6 changed files with 11 additions and 11 deletions

View File

@@ -151,8 +151,8 @@ liberator.Editor = function () //{{{
// mode = "i" -> add :iabbrev, :iabclear and :iunabbrev commands
function addAbbreviationCommands(ch, modeDescription)
{
var modeDescription = modeDescription ? " in " + modeDescription + " mode" : "";
var mode = ch || "!";
modeDescription = modeDescription ? " in " + modeDescription + " mode" : "";
liberator.commands.add([ch ? ch + "a[bbrev]" : "ab[breviate]"],
"Abbreviate a key sequence" + modeDescription,