diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-03-05 10:11:21 -0800 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-03-05 10:11:21 -0800 |
commit | 74767a87317ed77d335d523242937b0b5eb8ead3 (patch) | |
tree | d3f4302f796fd7dc942f502abd5a3e83308e03cf | |
parent | b70331f53f131b12306c68c4cff81dfa36cff1cc (diff) | |
parent | 002bc2ea462047aa5181a88eef600903c9c78a61 (diff) |
Merge pull request #392 from quite/tmpfile
Prefix tmpfile; convenient for automatic change of editor modes
-rw-r--r-- | alot/commands/envelope.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |