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

expand environment variables in the filename argument to :source

This commit is contained in:
Doug Kearns
2007-08-12 16:39:59 +00:00
parent ecc2952522
commit 923a9a78de
2 changed files with 70 additions and 35 deletions

View File

@@ -1036,11 +1036,12 @@ function Commands() //{{{
addDefaultCommand(new Command(["so[urce]"],
function(args)
{
if (/[^\\]\s/.test(args))
{
vimperator.echoerr("E172: Only one file name allowed");
return;
}
// FIXME: implement proper filename quoting
//if (/[^\\]\s/.test(args))
//{
// vimperator.echoerr("E172: Only one file name allowed");
// return;
//}
vimperator.source(args);
},