aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-14 15:25:30 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-14 15:25:30 -0400
commit065da5e37230976d85d163a6f682eddb9345aede (patch)
tree12bbbbdc95ad03d4e1a57b50350d372022a8b50d /commands
parent9b2612eaf2fbe60a47ef9ca187a9fddb33705e92 (diff)
Add $EDITOR, internal config for compose
Diffstat (limited to 'commands')
-rw-r--r--commands/account/compose.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/compose.go b/commands/account/compose.go
index c9be17a..10be9ae 100644
--- a/commands/account/compose.go
+++ b/commands/account/compose.go
@@ -18,7 +18,7 @@ func Compose(aerc *widgets.Aerc, args []string) error {
return errors.New("Usage: compose")
}
acct := aerc.SelectedAccount()
- composer := widgets.NewComposer(acct.AccountConfig())
+ composer := widgets.NewComposer(aerc.Config(), acct.AccountConfig())
// TODO: Change tab name when message subject changes
aerc.NewTab(composer, runewidth.Truncate(
"New email", 32, "…"))