mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 18:27:59 +01:00
First work towards cleaning up the commandline.js rat's nest. Don't expect any of these new interfaces to stay remotely as they are.
--HG-- branch : key-processing
This commit is contained in:
@@ -115,9 +115,8 @@ var Bookmarks = Module("bookmarks", {
|
||||
if (charset != null && charset !== "UTF-8")
|
||||
options["-charset"] = charset;
|
||||
|
||||
commandline.open(":",
|
||||
commands.commandToString({ command: "bmark", options: options, arguments: [url] }) + " -keyword ",
|
||||
modes.EX);
|
||||
CommandExMode().open(
|
||||
commands.commandToString({ command: "bmark", options: options, arguments: [url] }) + " -keyword ");
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -582,9 +581,8 @@ var Bookmarks = Module("bookmarks", {
|
||||
options["-charset"] = content.document.characterSet;
|
||||
}
|
||||
|
||||
commandline.open(":",
|
||||
commands.commandToString({ command: "bmark", options: options, arguments: [buffer.uri.spec] }),
|
||||
modes.EX);
|
||||
CommandExMode().open(
|
||||
commands.commandToString({ command: "bmark", options: options, arguments: [buffer.uri.spec] }));
|
||||
});
|
||||
|
||||
mappings.add(myModes, ["A"],
|
||||
|
||||
Reference in New Issue
Block a user