aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/aerc.conf5
-rw-r--r--config/compose.go1
2 files changed, 6 insertions, 0 deletions
diff --git a/config/aerc.conf b/config/aerc.conf
index cb720e07..800e6ec6 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
@@ -417,6 +417,11 @@
# Default: true
#reply-to-self=true
+# Warn before sending an email with an empty subject.
+#
+# Default: false
+#empty-subject-warning=false
+
#
# Warn before sending an email that matches the specified regexp but does not
# have any attachments. Leave empty to disable this feature.
diff --git a/config/compose.go b/config/compose.go
index 70533453..017b9efb 100644
--- a/config/compose.go
+++ b/config/compose.go
@@ -13,6 +13,7 @@ type ComposeConfig struct {
AddressBookCmd string `ini:"address-book-cmd"`
ReplyToSelf bool `ini:"reply-to-self" default:"true"`
NoAttachmentWarning *regexp.Regexp `ini:"no-attachment-warning" parse:"ParseNoAttachmentWarning"`
+ EmptySubjectWarning bool `ini:"empty-subject-warning"`
FilePickerCmd string `ini:"file-picker-cmd"`
FormatFlowed bool `ini:"format-flowed"`
}