mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 01:44:12 +01:00
move global fopen() to a slot in vimperator
This commit is contained in:
@@ -254,7 +254,7 @@ function get_file_completions(filter) //{{{
|
||||
|
||||
var compl = match[2] || '';
|
||||
try {
|
||||
var fd = fopen(dir, "<");
|
||||
var fd = vimperator.fopen(dir, "<");
|
||||
} catch(e) {
|
||||
// thrown if file does not exist
|
||||
return [ ];
|
||||
|
||||
Reference in New Issue
Block a user