From 1ff8bf65bc25b8004e5a53836848d3c3d3d30021 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 11 Dec 2008 20:28:50 -0500 Subject: [PATCH] s/VIMPERATOR(_HOME)/config.name + \1/ --- common/content/io.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/io.js b/common/content/io.js index 229839b1..93c90a3a 100644 --- a/common/content/io.js +++ b/common/content/io.js @@ -413,7 +413,7 @@ function IO() //{{{ // expand "~" to VIMPERATOR_HOME or HOME (USERPROFILE or HOMEDRIVE\HOMEPATH on Windows if HOME is not set) if (/^~/.test(path)) { - let home = environmentService.get("VIMPERATOR_HOME"); + let home = environmentService.get(config.name.toUpperCase() + "_HOME"); if (!home) home = environmentService.get("HOME");