rem: editorShell.saveDocument(saveAs, false, "text/html"); 
add: if (msgCompose.bodyConvertible() == msgCompConvertible.Plain) editorShell.saveDocument(saveAs, false, "text/plain"); else editorShell.saveDocument(saveAs, false, "text/html"); 
context: function SaveAsFile(saveAs){	dump("SaveAsFile from XUL\n");	editorShell.saveDocument(saveAs, false, "text/html");  defaultSaveOperation = "file";}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/bc6c0e45b72fcaf3d060cad061e85528d53860b9/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js