Remove SCM variables from document_t

This commit is contained in:
Allan Odgaard
2013-02-02 10:43:53 +01:00
parent c4d6c624e8
commit 540bf5daf1

View File

@@ -495,12 +495,6 @@ namespace document
map["TM_FILENAME"] = path::name(path());
map["TM_DIRECTORY"] = path::parent(path());
map["PWD"] = path::parent(path());
if(scm::info_ptr info = scm::info(path::parent(path())))
{
for(auto pair : info->variables())
map.insert(pair);
}
}
return sourceFileSystem ? variables_for_path(path(), scope(), map) : map;