mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 13:32:27 +01:00
[muttator] :empty[trash] command
This commit is contained in:
@@ -533,6 +533,19 @@ liberator.Mail = function ()
|
|||||||
"Move selected messages",
|
"Move selected messages",
|
||||||
function (args, special) { moveOrCopy(false, args); });
|
function (args, special) { moveOrCopy(false, args); });
|
||||||
|
|
||||||
|
liberator.commands.add(["empty[trash]"],
|
||||||
|
"Empty trash of the current account",
|
||||||
|
function (args, special)
|
||||||
|
{
|
||||||
|
if (args)
|
||||||
|
{
|
||||||
|
liberator.echoerr("E488: Trailing characters");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
goDoCommand("cmd_emptyTrash");
|
||||||
|
});
|
||||||
|
|
||||||
liberator.commands.add(["get[messages]"],
|
liberator.commands.add(["get[messages]"],
|
||||||
"Check for new messages",
|
"Check for new messages",
|
||||||
function (args, special)
|
function (args, special)
|
||||||
|
|||||||
Reference in New Issue
Block a user