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

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

bug#71934: 31.0.50; edebug--called-interactively-skip vs. new fun object


From: Michael Heerdegen
Subject: bug#71934: 31.0.50; edebug--called-interactively-skip vs. new fun objects
Date: Thu, 04 Jul 2024 07:11:36 +0200

Hi,

AFAIU we must update this test in `edebug--called-interactively-skip':

#+begin_src emacs-lisp
  (when (and (memq (car-safe (nth 1 frame1)) '(lambda closure)) ...
#+end_src


My test case:

#+begin_src emacs-lisp
(defun f (x)
  (interactive "P")
  (message "c-i: %s" (called-interactively-p 'any)))
(global-set-key [print] #'f)
#+end_src

When edebugging `f', (called-interactively-p 'any) will eval to nil in
current master when hitting print.  Evalled to t as expected in older
Emacs versions.


TIA,

Michael.








reply via email to

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