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

Add -name argument to :sty and -name/-index arguments to :delsty

This commit is contained in:
Kris Maglione
2008-10-10 22:29:21 +00:00
parent a1c082dda7
commit 0c06594885
2 changed files with 106 additions and 48 deletions

View File

@@ -321,7 +321,7 @@ const liberator = (function () //{{{
}
catch (e)
{
liberator.echoerr(e.name + ": " + e.message);
liberator.echoerr(e);
}
}
},
@@ -808,6 +808,11 @@ const liberator = (function () //{{{
{
flags |= liberator.commandline.APPEND_TO_MESSAGES;
if (typeof str == "object" && "echoerr" in str)
str = str.echoerr;
else if (str instanceof Error)
str = str.fileName + ":" + str.lineNumber + ": " + str;
liberator.commandline.echo(str, liberator.commandline.HL_ERRORMSG, flags);
},