[Top][All Lists]

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

Re: cl-byte-compile-compiler-macro

From: Richard Stallman
Subject: Re: cl-byte-compile-compiler-macro
Date: Tue, 04 Apr 2006 23:47:30 -0400

    > It could be a problem that compiling a call to these macros loads CL.
    > I am not sure; it is on the borderline.
    > Does interpreting a call to these defstruct accessor macros also load CL?

    defstruct is defined in cl-macs, so you can't use it without loading cl.

We are miscommunicating.

We have a file foo.el that uses defstruct and defines an accessor,
foo-bar.  Loading foo.elc will load the compiled definition of

If another file, quux.el, does (require 'foo), it will load the
compiled definition of foo-bar.  So there are two questions:

When I load quux.el, and run it interpreted, does it need to load
CL in order to process the call to foo-bar?  (Stefan says no.)

When I compile quux.el, does that need CL to be loaded?
(Assume quux.el does not load CL itself.)

reply via email to

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