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

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

Re: Invalid function error when loading elisp through native compilation


From: Michael Heerdegen
Subject: Re: Invalid function error when loading elisp through native compilation
Date: Mon, 04 Mar 2024 02:07:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Michael Heerdegen via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> Do you have a native compiling Emacs at hand - can you confirm that
> it's a bug in the native compiler?

But byte compilation also doesn't get it right (note the difference to
your example - mine includes a complete `apply' call)

  (funcall (byte-compile '(lambda () (apply '(+ 1 2)))))
  ==> grgh

compared to

  (funcall (byte-compile '(lambda () (apply #'+ 1 (list 2)))))
  ==> 3


Michael.




reply via email to

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