mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 18:12:26 +01:00
Somewhat more resilient File.expandPath and File#init. Fixes Pentadactyl on wine.
This commit is contained in:
@@ -912,9 +912,9 @@ const Commands = Module("commands", {
|
||||
}
|
||||
|
||||
// dynamically get completions as specified with the command's completer function
|
||||
context.highlight();
|
||||
let command = cmd && commands.get(cmd);
|
||||
if (!command) {
|
||||
context.highlight();
|
||||
context.highlight(0, cmd && cmd.length, "SPELLCHECK");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user