diff options
author | Thomas Weißschuh <thomas_weissschuh@lavabit.com> | 2012-06-15 16:12:37 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-06-16 22:59:25 +0100 |
commit | 751562dbfbc3a0fb6d0870b258d81d241a1c5e1b (patch) | |
tree | 0e0d1488538a8a09af620da8a4c078df2f380347 /docs | |
parent | d0fce628ad33c1f51053678c62de4d7341656dfb (diff) |
add forward_subject and forward_subject_prefix
this adds the hook "forward_subject" and the setting
"forward_subject_prefix"
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/configuration/alotrc_table.rst | 11 | ||||
-rw-r--r-- | docs/source/configuration/index.rst | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/docs/source/configuration/alotrc_table.rst b/docs/source/configuration/alotrc_table.rst index 6a6f2557..8c495bc8 100644 --- a/docs/source/configuration/alotrc_table.rst +++ b/docs/source/configuration/alotrc_table.rst @@ -182,6 +182,17 @@ :default: 5 +.. _forward-subject-prefix: + +.. describe:: forward_subject_prefix + + String prepended to subject header on forward + only if original subject doesn't start with 'Fwd:' or this prefix + + :type: string + :default: `Fwd: ` + + .. _hooksfile: .. describe:: hooksfile diff --git a/docs/source/configuration/index.rst b/docs/source/configuration/index.rst index e2b78207..90744ef7 100644 --- a/docs/source/configuration/index.rst +++ b/docs/source/configuration/index.rst @@ -257,6 +257,14 @@ Apart from command pre- and posthooks, the following hooks will be interpreted: :type subject: str :rtype: str +.. py:function:: forward_subject(subject) + + used to reformat the subject header on forward + + :param subject: subject to reformat + :type subject: str + :rtype: str + .. _themes: Themes |