Subject: bug#70368: [PATCH] Use a dedicated type to represent interpreted-function values

From: Stefan Monnier <[email-masked]>
Date: Mon, 29 Apr 2024 13:18:47 -0400

> Here is something else: `edebug-pop-to-backtrace' now emits lots of
> warnings like this:
> | Warning (emacs): Edebug--strip-instrumentation expected an interpreted function:
> | apply

Could you post an actual recipe?

The patch changed `edebug.el` only in the following way:

            (when (and skip-next-lambda
    -                  (not (memq (car-safe fun) '(closure lambda))))
    +                  (not (interpreted-function-p fun)))
              (warn "Edebug--strip-instrumentation expected an interpreted function:\n%S" fun))

so AFAICT the old code would have burped on `apply` just as well.

And I don't get such a warning on my attempts to use `edebug-pop-to-backtrace`.

        Stefan