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:
@@ -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);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user