aboutsummaryrefslogtreecommitdiffstats
path: root/_config
diff options
context:
space:
mode:
Diffstat (limited to '_config')
-rw-r--r--_config/alot/config2
-rw-r--r--_config/alot/hooks.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/_config/alot/config b/_config/alot/config
index cf68f3e..33a25f6 100644
--- a/_config/alot/config
+++ b/_config/alot/config
@@ -94,7 +94,7 @@ theme = solarized_light
translated = ✉
[[to-me]]
translated = ☻
- [[drafts]]
+ [[draft]]
translated = ✎
[[replied]]
translated = ✓
diff --git a/_config/alot/hooks.py b/_config/alot/hooks.py
index 806959e..27da9fa 100644
--- a/_config/alot/hooks.py
+++ b/_config/alot/hooks.py
@@ -12,6 +12,7 @@ import alot
# Check for missing attachment before sending
#
+"""
async def pre_envelope_send(ui, dbm, __):
p = r'.*([Aa]ttach|附件|附图|已附|所附)'
e = ui.current_buffer.envelope
@@ -19,6 +20,7 @@ async def pre_envelope_send(ui, dbm, __):
msg = 'No attachments. Send anyway?'
if not (await ui.choice(msg, select='yes')) == 'yes':
raise Exception()
+"""
# Save marked position in search buffer