875 |
init_user_info (); |
init_user_info (); |
876 |
} |
} |
877 |
|
|
878 |
|
char * |
879 |
|
emacs_root_dir (void) |
880 |
|
{ |
881 |
|
static char root_dir[FILENAME_MAX]; |
882 |
|
const char *p; |
883 |
|
|
884 |
|
p = getenv ("emacs_dir"); |
885 |
|
if (p == NULL) |
886 |
|
abort (); |
887 |
|
strcpy (root_dir, p); |
888 |
|
root_dir[parse_root (root_dir, NULL)] = '\0'; |
889 |
|
dostounix_filename (root_dir); |
890 |
|
return root_dir; |
891 |
|
} |
892 |
|
|
893 |
/* We don't have scripts to automatically determine the system configuration |
/* We don't have scripts to automatically determine the system configuration |
894 |
for Emacs before it's compiled, and we don't want to have to make the |
for Emacs before it's compiled, and we don't want to have to make the |
895 |
user enter it, so we define EMACS_CONFIGURATION to invoke this runtime |
user enter it, so we define EMACS_CONFIGURATION to invoke this runtime |