summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
Diffstat (limited to 'alot')
-rw-r--r--alot/commands/thread.py6
-rw-r--r--alot/defaults/alot.rc.spec3
2 files changed, 7 insertions, 2 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index b649fc19..28e89c42 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -113,8 +113,9 @@ class ReplyCommand(Command):
if quotehook:
mailcontent += quotehook(self.message.accumulate_body())
else:
+ quote_prefix = settings.get('quote_prefix')
for line in self.message.accumulate_body().splitlines():
- mailcontent += '> ' + line + '\n'
+ mailcontent += quote_prefix + line + '\n'
envelope = Envelope(bodytext=mailcontent)
@@ -222,8 +223,9 @@ class ForwardCommand(Command):
if quotehook:
mailcontent += quotehook(self.message.accumulate_body())
else:
+ quote_prefix = settings.get('quote_prefix')
for line in self.message.accumulate_body().splitlines():
- mailcontent += '> ' + line + '\n'
+ mailcontent += quote_prefix + line + '\n'
envelope.body = mailcontent
diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec
index 49bb95de..09dd51ad 100644
--- a/alot/defaults/alot.rc.spec
+++ b/alot/defaults/alot.rc.spec
@@ -116,6 +116,9 @@ user_agent = string(default='alot/{version}')
# Suffix of the prompt used when waiting for user input
prompt_suffix = string(default=':')
+# String prepended to line when quoting
+quote_prefix = string(default='> ')
+
# Key bindings
[bindings]
__many__ = string(default=None)