From 3e11d296c20578697fa1a3d523e683c2580f16f5 Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Wed, 11 Jun 2008 13:18:00 +0000 Subject: [PATCH] [muttator] changed the filename in createTempFile to have :set ft=mail automatically --- content/io.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/io.js b/content/io.js index 10b93180..9f0a429b 100644 --- a/content/io.js +++ b/content/io.js @@ -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:\\";