[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add-relative-load-path ? - scm_add_load_path too?
From: |
Mark H Weaver |
Subject: |
Re: add-relative-load-path ? - scm_add_load_path too? |
Date: |
Tue, 31 Jan 2012 11:10:48 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Replying to myself...
> Probably the easiest option here is to simply prepend the desired
> directories onto the GUILE_LOAD_PATH environment variable before calling
> scm_boot_guile.
On second thought, this is probably not a good idea, because you don't
want this setting to propagate to other subprocesses. This is probably
the best thing:
> SCM var = scm_c_lookup ("%load-path");
> scm_variable_set_x (var, scm_cons (scm_from_locale_string (dir),
> scm_variable_ref (var)));
Does that work for you?
Mark
- Re: add-relative-load-path ?, (continued)
- Re: add-relative-load-path ?, Ludovic Courtès, 2012/01/23
- Re: add-relative-load-path ?, Andy Wingo, 2012/01/23
- Re: add-relative-load-path ?, Neil Jerram, 2012/01/23
- Re: add-relative-load-path ?, Ludovic Courtès, 2012/01/25
- Re: add-relative-load-path ?, Andy Wingo, 2012/01/25
- Re: add-relative-load-path ?, Ludovic Courtès, 2012/01/25
- Re: add-relative-load-path ?, Andy Wingo, 2012/01/25
- Re: add-relative-load-path ?, Neil Jerram, 2012/01/23
Re: add-relative-load-path ? - scm_add_load_path too?, Ian Hulin, 2012/01/30