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

Whatever happened to "Push creates new remote heads."?

This commit is contained in:
Kris Maglione
2009-11-09 23:07:46 -05:00

View File

@@ -661,7 +661,7 @@ const Editor = Module("editor", {
commands.add([ch ? ch + "a[bbrev]" : "ab[breviate]"],
"Abbreviate a key sequence" + modeDescription,
function (args) {
let matches = args.string.match(RegExp("^\\s*($|" + this._abbrevmatch + ")(?:\\s*$|\\s+(.*))"));
let matches = args.string.match(RegExp("^\\s*($|" + editor._abbrevmatch + ")(?:\\s*$|\\s+(.*))"));
liberator.assert(matches, "E474: Invalid argument");
let [, lhs, rhs] = matches;