mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-21 17:55:40 +02:00
Somewhat more resilient File.expandPath and File#init. Fixes Pentadactyl on wine.
This commit is contained in:
1 parent
46673bfc76
commit
21a510588c
2 files changed
+19
-12
No files matched your search
@@ -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