1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 04:07:58 +01:00

s/args.arguments/args/g

This commit is contained in:
Kris Maglione
2008-11-26 21:10:54 +00:00
parent a19f3d78ab
commit 20ab9ef0c7
12 changed files with 45 additions and 46 deletions

View File

@@ -244,7 +244,7 @@ function IO() //{{{
function (args, special)
{
// TODO: "E172: Only one file name allowed"
let filename = args.arguments[0] || "~/" + (WINDOWS ? "_" : ".") + EXTENSION_NAME + "rc";
let filename = args[0] || "~/" + (WINDOWS ? "_" : ".") + EXTENSION_NAME + "rc";
let file = io.getFile(filename);
if (file.exists() && !special)
@@ -288,7 +288,7 @@ function IO() //{{{
commands.add(["runt[ime]"],
"Source the specified file from each directory in 'runtimepath'",
function (args, special) { io.sourceFromRuntimePath(args.arguments, special); },
function (args, special) { io.sourceFromRuntimePath(args, special); },
{
argCount: "+",
bang: true
@@ -311,7 +311,7 @@ function IO() //{{{
function (args, special)
{
// FIXME: "E172: Only one file name allowed"
io.source(args.arguments[0], special);
io.source(args[0], special);
},
{
argCount: "1",