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

remove range and bang error messages from :undoall action as they're now

handled by the bang and count extraInfo properties
This commit is contained in:
Doug Kearns
2008-10-10 11:27:20 +00:00
parent c71b5f7886
commit a2f59e45d0

View File

@@ -608,17 +608,6 @@ liberator.Tabs = function () //{{{
"Undo closing of all closed tabs",
function (args, special, count)
{
if (count > -1)
{
liberator.echoerr("E481: No range allowed");
return;
}
if (special)
{
liberator.echoerr("E477: No ! allowed");
return;
}
var ss = Components.classes["@mozilla.org/browser/sessionstore;1"]
.getService(Components.interfaces.nsISessionStore);
var undoItems = eval("(" + ss.getClosedTabData(window) + ")");
@@ -633,10 +622,7 @@ liberator.Tabs = function () //{{{
liberator.commands.add(["wqa[ll]", "wq", "xa[ll]"],
"Save the session and quit",
function ()
{
liberator.quit(true);
},
function () { liberator.quit(true); },
{ argCount: "0" });
}