1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:58:00 +01:00

[muttator] changed the filename in createTempFile to have :set ft=mail automatically

This commit is contained in:
Martin Stubenschrott
2008-06-11 13:18:00 +00:00
parent 498639c56d
commit 3e11d296c2

View File

@@ -339,6 +339,9 @@ liberator.IO = function () //{{{
createInstance(Components.interfaces.nsILocalFile);
var tmpname = liberator.config.name.toLowerCase() + ".tmp";
if (liberator.config.name == "Muttator")
tmpname = "mutt-ator-mail"; // to allow vim to :set ft=mail automatically
if (WINDOWS)
{
var dir = environmentService.get("TMP") || environmentService.get("TEMP") || "C:\\";