diff options
Diffstat (limited to '_config/alot/hooks.py')
-rw-r--r-- | _config/alot/hooks.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |