mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +02:00
* init.c (invoke_main_func): Load the startup files (boot-9.scm)
from here, not from scm_compile_shell_switches (which is a pretty dumb place to do it). (scm_load_startup_files): New function. (scm_ice_9_already_loaded): Variable moved to here from script.c. * script.c (scm_compile_shell_switches): Don't load the startup files here. (scm_ice_9_already_loaded): Variable moved. * init.c (scm_load_startup_files): Prototype for new function. * gh_init.c (gh_enter): Doc fix.
This commit is contained in:
parent
541716d15c
commit
6b8d19d302
3 changed files with 8 additions and 27 deletions
|
@ -57,7 +57,6 @@ gh_launch_pad (void *closure, int argc, char **argv)
|
|||
{
|
||||
main_prog_t c_main_prog = (main_prog_t) closure;
|
||||
|
||||
/* gh_eval_str ("(primitive-load-path \"ice-9/boot-9.scm\")"); */
|
||||
c_main_prog (argc, argv);
|
||||
exit (0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue