mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 21:37:58 +01:00
[muttator] changed the filename in createTempFile to have :set ft=mail automatically
This commit is contained in:
@@ -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:\\";
|
||||
|
||||
Reference in New Issue
Block a user