mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 17:50:29 +02:00
Add parse-path-with-ellipsis, and use it for GUILE_LOAD_PATH et al.
* libguile/load.c (scm_ellipsis): New Variable. (scm_parse_path_with_ellipsis): New procedure. (scm_init_load): Initialize 'scm_ellipsis'. (scm_init_load_path): Use 'scm_parse_path_with_ellipsis' to handle GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH. * libguile/load.h (scm_parse_path_with_ellipsis): Add prototype. * doc/ref/guile-invoke.texi (Environment Variables): doc/ref/api-evaluation.texi (Load Paths): Add documentation. Correct description of default load path to reflect reality. Remove 'GUILE_LOAD_PATH' from the concept index; it is already in the variable index. Add cross references between these two sections of the manual.
This commit is contained in:
parent
99b94347f9
commit
bd31bce6ac
4 changed files with 70 additions and 18 deletions
|
@ -27,6 +27,7 @@
|
|||
|
||||
|
||||
SCM_API SCM scm_parse_path (SCM path, SCM tail);
|
||||
SCM_API SCM scm_parse_path_with_ellipsis (SCM path, SCM base);
|
||||
SCM_API SCM scm_primitive_load (SCM filename);
|
||||
SCM_API SCM scm_c_primitive_load (const char *filename);
|
||||
SCM_API SCM scm_sys_package_data_dir (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue