guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUILE_LOAD_PATH has no effect.


From: Bill Gribble
Subject: Re: GUILE_LOAD_PATH has no effect.
Date: Tue, 17 Jul 2001 17:56:56 -0500
User-agent: Mutt/1.3.18i

On Tue, Jul 17, 2001 at 05:37:33PM -0400, Brett Viren wrote:
> What is the equivalent to (load-from-path) in either the gh_ or scm_
> API?  Apparently, gh_load() doesn't check GUILE_LOAD_PATH.

This may be a kludge :) but I have found that setting the global var 
%load-path does the right thing, as in 

 (set! %load-path (cons "/path/to/add" %load-path))

This works if done in a gh_eval_str on the C side. 

b.g.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]