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

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

bug#70368: [PATCH] Use a dedicated type to represent interpreted-functio


From: Stefan Monnier
Subject: bug#70368: [PATCH] Use a dedicated type to represent interpreted-function values
Date: Mon, 29 Apr 2024 13:18:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> 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






reply via email to

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