* * load.c (scm_sys_search_load_path): Search for files under all
authorJim Blandy <jimb@red-bean.com>
Mon, 28 Oct 1996 23:05:37 +0000 (23:05 +0000)
committerJim Blandy <jimb@red-bean.com>
Mon, 28 Oct 1996 23:05:37 +0000 (23:05 +0000)
commit26544b963b32d02fad20c61e48d3dcd11f887b34
treed1a5a04c7897e0230f7fc929c993dd39aa8e72f1
parentc368ffcff13667d3a800bacb61f8a32c550973d2
* * load.c (scm_sys_search_load_path): Search for files under all
extensions listed in the %load-extensions variable.  If FILENAME
is absolute, return it unchanged, without searching the load path.
* (scm_loc_load_extensions): New variable, pointing to
%load-extensions' value cell.
(scm_init_load): Initialize it, and the value it points to.
(scm_primitive_load_path): Improve error reporting.

* * load.c (scm_loc_load_hook): New variable, pointing to value cell
of new Scheme variable %load-hook.
(scm_primitive_load): Apply %load-hook to filename.
libguile/load.c