1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 22:17:59 +01:00

move global source() command to a vimperator slot

This commit is contained in:
Doug Kearns
2007-07-02 09:43:03 +00:00
parent bd11cc4da1
commit 0b8ecb0d71
2 changed files with 3 additions and 3 deletions

View File

@@ -649,7 +649,7 @@ function Commands() //{{{
}
));
addDefaultCommand(new Command(["so[urce]"],
source,
function(args) { vimperator.source(args); },
{
usage: ["so[urce][!] {file}"],
short_help: "Read Ex commands from {file}",
@@ -1723,7 +1723,7 @@ function set(args, special)
}
}
function source(filename, silent)
Vimperator.prototype.source = function(filename, silent)
{
if (!filename)
return;