mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 09:12:28 +01:00
Cleanup crufty apply code.
This commit is contained in:
@@ -1334,7 +1334,7 @@ var Editor = Module("editor", XPCOM(Ci.nsIEditActionListener, ModuleBase), {
|
||||
},
|
||||
{ count: true });
|
||||
|
||||
bind = function bind(...args) mappings.add.apply(mappings, [[modes.AUTOCOMPLETE]].concat(args));
|
||||
bind = function bind(...args) apply(mappings, "add", [[modes.AUTOCOMPLETE]].concat(args));
|
||||
|
||||
bind(["<Esc>"], "Return to Insert mode",
|
||||
() => Events.PASS_THROUGH);
|
||||
|
||||
Reference in New Issue
Block a user