bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11847: 24.1.50; Error: Don't know how to compile #[nil "..."]


From: Stefan Monnier
Subject: bug#11847: 24.1.50; Error: Don't know how to compile #[nil "..."]
Date: Tue, 03 Jul 2012 13:26:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> But please see my other replies, where I acknowledge that my code does
> call `byte-compile'.  See the question there about whether
> byte-compiling a Lisp file also compiles a sexp (e.g. a defun) inside
> `eval-after-load'.

Byte-compilation is not done within quoted forms (i.e. forms that start
with '), so byte-compilation normally is not done on the code passed to
eval-after-load since that code is usually quoted.

> (and if so whether that is true in older Emacs versions also)

Yes, there has not been any change in this regard.  What has changed is
that byte-compile now complains when it can't do its job, whereas it
used to silently just return nil without doing anything.


        Stefan





reply via email to

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