1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 05:37:58 +01:00

argdo liberator.jss/"foo \"" + str + "\""/"foo " + str.quote()/g

This commit is contained in:
Kris Maglione
2008-12-06 18:33:54 -05:00
parent 532d520e0e
commit ae25ea4309
4 changed files with 18 additions and 27 deletions

View File

@@ -1500,7 +1500,7 @@ function Marks() //{{{
// ignore invalid mark characters unless there are no valid mark chars
if (args && !/[a-zA-Z]/.test(args))
{
liberator.echoerr("E283: No marks matching \"" + args + "\"");
liberator.echoerr("E283: No marks matching " + args.quote());
return;
}
@@ -1640,7 +1640,7 @@ function Marks() //{{{
marks = marks.filter(function (mark) filter.indexOf(mark[0]) >= 0);
if (marks.length == 0)
{
liberator.echoerr("E283: No marks matching \"" + filter + "\"");
liberator.echoerr("E283: No marks matching " + filter.quote());
return;
}
}