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: Stefan Monnier
Subject: Re: Invalid function error when loading elisp through native compilation
Date: Sun, 03 Mar 2024 18:27:17 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

>            (apply `(,fetch-func
>                     ,owner
>                     ,repo
>                     (lambda (result)..3..))))) ...)))))
> #+end_src
>                   ^^^^^^^^^^^^^^^^^^^^^^^  !
>
> This argument to apply is not a valid function value.  Signature of
> `apply' is (apply FUN . ARGS) - you are specifying only one list as first
> arg FUN.

FWIW,

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

so it's not really wrong.


        Stefan




reply via email to

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