diff options
Diffstat (limited to 'commands/compose/abort.go')
-rw-r--r-- | commands/compose/abort.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/commands/compose/abort.go b/commands/compose/abort.go index a11c06c5..4bacb9c3 100644 --- a/commands/compose/abort.go +++ b/commands/compose/abort.go @@ -1,8 +1,6 @@ package compose import ( - "errors" - "git.sr.ht/~rjarry/aerc/app" ) @@ -21,12 +19,7 @@ func (Abort) Complete(args []string) []string { } func (Abort) Execute(args []string) error { - if len(args) != 1 { - return errors.New("Usage: abort") - } composer, _ := app.SelectedTabContent().(*app.Composer) - app.RemoveTab(composer, true) - return nil } |