diff --git a/content/io.js b/content/io.js index cc31bd90..7f4fe97f 100644 --- a/content/io.js +++ b/content/io.js @@ -474,9 +474,11 @@ liberator.IO = function () //{{{ var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); + var tmpname = liberator.config.name.toLowerCase() + "-"; if (window.content.document.location.hostname) - var tmpname = liberator.config.name.toLowerCase() + "-" + - window.content.document.location.hostname + ".tmp"; + tmpname += window.content.document.location.hostname; + tmpname += ".tmp"; + if (liberator.config.name == "Muttator") tmpname = "mutt-ator-mail"; // to allow vim to :set ft=mail automatically