mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:48:02 +01:00
[muttator] :empty[trash] command
This commit is contained in:
@@ -533,6 +533,19 @@ liberator.Mail = function ()
|
||||
"Move selected messages",
|
||||
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]"],
|
||||
"Check for new messages",
|
||||
function (args, special)
|
||||
|
||||
Reference in New Issue
Block a user