emacs-devel
[Top][All Lists]
Advanced

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

Re: Bootstrap problem.


From: Kim F. Storm
Subject: Re: Bootstrap problem.
Date: Wed, 30 Mar 2005 12:39:33 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Lute Kamstra <address@hidden> writes:

> Consider the following situation.
>
> Add a definition to lisp file A and make it available to other lisp
> files by adding an autoload cookie.  Commit the change.  Then add some
> code to lisp file B that depends on the presence of this definition to
> compile.  Commit this change as well.

I don't see why you cannot simply add

  (eval-when-compile
    (require 'A))

to B.  

Since A will be loaded anyway due to the autoload cookie, it doesn't
cost anything, and it makes it clear that B uses features of A.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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