mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-02 08:15:46 +01:00
Crude source line linkification in :*usage.
This commit is contained in:
@@ -140,6 +140,7 @@ const Mappings = Module("mappings", {
|
||||
|
||||
_addMap: function (map) {
|
||||
let where = map.user ? this._user : this._main;
|
||||
map.definedAt = Components.stack.caller.caller;
|
||||
map.modes.forEach(function (mode) {
|
||||
if (!(mode in where))
|
||||
where[mode] = [];
|
||||
|
||||
Reference in New Issue
Block a user