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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dd25bfa0b1f716a941131c8b3953ebe6f3b1e196/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js