From 002bc2ea462047aa5181a88eef600903c9c78a61 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 5 Mar 2012 18:30:50 +0100 Subject: Prefix tmpfile; convenient for automatic change of editor modes --- alot/commands/envelope.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alot/commands/envelope.py') diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py index cc67a5a1..b74b71fe 100644 --- a/alot/commands/envelope.py +++ b/alot/commands/envelope.py @@ -246,7 +246,7 @@ class EditCommand(Command): bodytext = translate(bodytext, ui=ui, dbm=ui.dbman) #write stuff to tempfile - tf = tempfile.NamedTemporaryFile(delete=False) + tf = tempfile.NamedTemporaryFile(delete=False, prefix='alot.') content = bodytext if headertext: content = '%s%s' % (headertext, content) -- cgit v1.2.3