1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 08:14:11 +01:00

extract editor.editFileExternally from buffer.viewSource and

editor.editWithExternalEditor
This commit is contained in:
Doug Kearns
2008-11-28 04:11:42 +00:00
parent b1c8e5e73c
commit 49d331f811
3 changed files with 26 additions and 37 deletions

View File

@@ -131,7 +131,7 @@ const config = { //{{{
// TODO: move mappings elsewhere, probably compose.js
mappings.add([modes.COMPOSE],
["e"], "Edit message",
function () { editor.editWithExternalEditor(); });
function () { editor.editFieldExternally(); });
mappings.add([modes.COMPOSE],
["y"], "Send message now",
@@ -178,7 +178,7 @@ const config = { //{{{
if (options["autoexternal"] && !window.messageWasEditedExternally/* && !gMsgCompose.recycledWindow*/)
{
window.messageWasEditedExternally = true;
editor.editWithExternalEditor();
editor.editFieldExternally();
}
},