guile-user
[Top][All Lists]
Advanced

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

Re: Customize loading


From: Joris van der Hoeven
Subject: Re: Customize loading
Date: Mon, 10 Oct 2005 18:31:59 +0200
User-agent: Mutt/1.5.9i

On Mon, Oct 10, 2005 at 05:16:10PM +0200, Ludovic Courtès wrote:
> Joris van der Hoeven <address@hidden> writes:
> > I have written my own code to load files using a disk cache.
> > How can I tell guile that it should load all files and modules
> > using my code instead of the standard routines?
> 
> By overriding `primitive-load':
> 
>   (set! primitive-load (lambda (filename) ...))
> 
> Hope this helps,

Cool, yes. I tried to redefine primitive-load, but I should have
used set! ;^) The same trick seems to work for %search-load-path now.

Thanks, Joris




reply via email to

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