Mercurial > hg > xemacs-beta
diff netinstall/regedit.cc @ 452:3d3049ae1304 r21-2-41
Import from CVS: tag r21-2-41
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:40:21 +0200 |
parents | 3078fd1074e8 |
children | ce0b3f2eff35 |
line wrap: on
line diff
--- a/netinstall/regedit.cc Mon Aug 13 11:39:21 2007 +0200 +++ b/netinstall/regedit.cc Mon Aug 13 11:40:21 2007 +0200 @@ -175,6 +175,11 @@ 0, REG_SZ, (BYTE *)path, strlen (path)+1); RegSetValueEx (key, XEMACS_INFO_XEMACS_ROOT_TYPE, 0, REG_DWORD, (BYTE *)&itype, sizeof (itype)); + // write out the package path + sprintf (buf, "~\\.xemacs;%s\\site-packages;%s\\xemacs-packages", + path, path); + RegSetValueEx (key, XEMACS_INFO_XEMACS_PACKAGE_KEY, + 0, REG_SZ, (BYTE *)buf, strlen (buf)+1); } void