aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc-config.5.scd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/aerc-config.5.scd')
-rw-r--r--doc/aerc-config.5.scd14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd
index 2c5f809d..21472e6e 100644
--- a/doc/aerc-config.5.scd
+++ b/doc/aerc-config.5.scd
@@ -493,6 +493,20 @@ These options are configured in the *[compose]* section of aerc.conf.
Default: true
+*no-attachment-warning*
+ Specifies a regular expression against which an email's body should be
+ tested before sending an email with no attachment. If the regexp
+ matches, aerc will warn you before sending the message. Leave empty to
+ disable this feature.
+
+ Uses Go's regexp syntax, documented at https://golang.org/s/re2syntax.
+ The "(?im)" flags are set by default (case-insensitive and multi-line).
+
+ Example:
+ no-attachment-warning=^[^>]\*attach(ed|ment)
+
+ Default: none
+
## FILTERS
Filters allow you to pipe an email body through a shell command to render