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 01:50:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

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

> FWIW,
>
>     (funcall (byte-compile '(lambda (xs) (apply xs))) '(+ 1 2))
>     ==> 3
>
> so it's not really wrong.

Ok,

  (apply '(+ 1 2)) ==> 3

Hmm.  Hmm.

And if I understand the docstring of `apply' correctly:

| With a single argument, call the argument's first element using the
| other elements as args.

this is even not only not really wrong, but documented behavior.

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

Michael.




reply via email to

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