emacs-devel
[Top][All Lists]
Advanced

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

Re: cl-byte-compile-compiler-macro


From: Andreas Schwab
Subject: Re: cl-byte-compile-compiler-macro
Date: Tue, 28 Mar 2006 01:44:06 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     AFAIK the symbol is a used as a symbol property.  It tells the 
> byte-compiler
>     that a function call to the function bound to the corresponding symbol can
>     be optimized in some cases and that the way to optimize it to to pass it 
> to
>     the cl-byte-compile-compiler-macro property value (it's a so-called
>     "compiler macro").
>
> Right.  So compiling a call to that macro will crash unless cl is
> loaded.

You need to load cl anyway when byte compiling a call to defstruct, and
then cl-macs (which defines byte-compile-compiler-macro) is autoloaded.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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