[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: require inside functions.
From: |
Lute Kamstra |
Subject: |
Re: require inside functions. |
Date: |
Fri, 15 Apr 2005 11:23:26 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> Did you perhaps mean to use load_in_progress instead of
> Vloads_in_progress?
>
> I meant to use Vloads_in_progress. Would load_in_progress do the same
> job better? If so, I don't mind changing it.
I browsed src/lread.c a bit and they seem equivalent in that you can
use both of them to check if a load is in progress, which is the goal
in Frequire. It's just that with load_in_progress the check is
simpler. Using load_in_progress is also clearer due to the
documentation/purpose of both variables:
/* non-zero if inside `load' */
int load_in_progress;
/* A list of file names for files being loaded in Fload. Used to
check for recursive loads. */
static Lisp_Object Vloads_in_progress;
Lute.
- Re: require inside functions., (continued)
- Re: require inside functions. (was: Changes in calendar/time-date.el), Richard Stallman, 2005/04/07
- Re: require inside functions., David Kastrup, 2005/04/08
- Re: require inside functions. (was: Changes in calendar/time-date.el), Kim F. Storm, 2005/04/08
- Re: require inside functions. (was: Changes in calendar/time-date.el), Richard Stallman, 2005/04/08
- Re: require inside functions., Lute Kamstra, 2005/04/09
- Re: require inside functions., Richard Stallman, 2005/04/09
- Re: require inside functions., Lute Kamstra, 2005/04/13
- Re: require inside functions., Richard Stallman, 2005/04/14
- Re: require inside functions.,
Lute Kamstra <=
- Re: Changes in calendar/time-date.el, Lute Kamstra, 2005/04/05