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

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

Re: native-comp error: Invalid function #<subr or>


From: Stefan Monnier
Subject: Re: native-comp error: Invalid function #<subr or>
Date: Thu, 31 Oct 2024 09:46:05 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> when i build it from a package archive, i get the following errors
> during native compiling:
>
>     Warning (comp): /path/to/.emacs.d/straight/build/mastodon/mastodon-tl.el:
>     Error: Invalid function #<subr or>

AFAIK this error is what you get when you treat `or` as a function
(e.g. pass it to `funcall`).

Try and `(setq debug-on-error t byte-compile-debug t)` before
reproducing that problem, which will hopefully give you a backtrace.


        Stefan




reply via email to

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