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: Michael Heerdegen
Subject: bug#70368: [PATCH] Use a dedicated type to represent interpreted-function values
Date: Tue, 30 Apr 2024 14:49:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Could you post an actual recipe?
>
> so AFAICT the old code would have burped on `apply` just as well.

It's indeed a special case.  I'm doing this:

#+begin_src emacs-lisp
(advice-add 'edebug-enter :before
  (lambda (&rest _) "Turn off `view-mode' which would shadow edebug bindings."
    (when (fboundp 'view-mode)
      (view-mode -1)))
  '((name . turn-off-view-mode)))
#+end_src

Then hitting d in any Edebug recursive edit will pop up the mentioned
warning.

Maybe you know how to silently skip the frame in this case, too?
Else I will find a way to silence the warning for myself in some
unorthodox way.

Thx,

Michael.





reply via email to

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