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: Richard Stallman
Subject: Re: cl-byte-compile-compiler-macro
Date: Mon, 27 Mar 2006 17:29:39 -0500

    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.

I think we should move compiler-macroexpand and
cl-byte-compile-compiler-macro from cl-macs.el into subr.el.  It looks
like that will make the compilation of these macro calls work properly,
and it is rather painless.

But these functions need to get doc strings that explain what they do,
and perhaps some comments as well.





reply via email to

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