mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 07:30:32 +02:00
* load.c (scm_init_load_path): Check GUILE_LOAD_PATH environment
variable first; then SCHEME_LOAD_PATH, with a warning message. (scm_parse_path): New function. * script.c: Doc fixes.
This commit is contained in:
parent
51e6b88353
commit
01cddfc1e8
2 changed files with 40 additions and 19 deletions
|
@ -618,7 +618,7 @@ scm_compile_shell_switches (int argc, char **argv)
|
|||
scm_mask_ints = 0;
|
||||
}
|
||||
{
|
||||
/* We want a path only containing directories from SCHEME_LOAD_PATH,
|
||||
/* We want a path only containing directories from GUILE_LOAD_PATH,
|
||||
SCM_SITE_DIR and SCM_LIBRARY_DIR when searching for the site init
|
||||
file, so we do this before loading Ice-9. */
|
||||
SCM init_path = scm_sys_search_load_path (scm_makfrom0str ("init.scm"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue