guile-user
[Top][All Lists]
Advanced

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

Re: [guile/scwm] 2nd argument problem to scm_definedp()


From: Marius Vollmer
Subject: Re: [guile/scwm] 2nd argument problem to scm_definedp()
Date: 16 Sep 2002 22:22:55 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Rob Browning <address@hidden> writes:

>   scm_definedp (load_path_sym,
>                 scm_module_lookup_closure (scm_current_module ()));
> 
> but judging from Marius' other comment, this may be wrong altogether.

Close! :-)

  scm_definedp (load_path_sym,
                scm_top_level_env (
                  scm_module_lookup_closure (scm_current_module ())));

But I would not recommend using this.  Better lobby us to include a
real scm_c_module_defined_p function.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

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