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

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

bug#11747: 24.1.50; called-interactively-p vs. advice


From: Glenn Morris
Subject: bug#11747: 24.1.50; called-interactively-p vs. advice
Date: Sun, 24 Jun 2012 21:14:55 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Michael Heerdegen wrote:

> `called-interactively-p' returns wrong values when called inside
> commands that are adviced.

Old "interactive-p" had the same issue, though maybe that mattered less.
It's to do with the way advice is implemented. It actually goes out of
its way to avoid using call-interactively unless it has to (subrs).
See comments in advice.el header.





reply via email to

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