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

replace some echo() calls with echomsg()

This commit is contained in:
Doug Kearns
2008-12-11 16:59:51 +11:00
parent 8ad705334b
commit f27c461c7f
10 changed files with 18 additions and 15 deletions

View File

@@ -321,7 +321,7 @@ function Bookmarks() //{{{
if (bookmarks.add(false, title, url, keyword, tags, args.bang))
{
let extra = (title == url) ? "" : " (" + title + ")";
liberator.echo("Added bookmark: " + url + extra, commandline.FORCE_SINGLELINE);
liberator.echomsg("Added bookmark: " + url + extra, 1, commandline.FORCE_SINGLELINE);
}
else
liberator.echoerr("Exxx: Could not add bookmark `" + title + "'", commandline.FORCE_SINGLELINE);
@@ -368,7 +368,7 @@ function Bookmarks() //{{{
let url = args.string || buffer.URL;
let deletedCount = bookmarks.remove(url);
liberator.echo(deletedCount + " bookmark(s) with url `" + url + "' deleted", commandline.FORCE_SINGLELINE);
liberator.echomsg(deletedCount + " bookmark(s) with url `" + url + "' deleted", 1, commandline.FORCE_SINGLELINE);
},
{
argCount: "?",