What about advising the primitives that define functions to add
debug-entry-code when a function is in debug-function-list? Would
that work?
Please do not think of making any part of Emacs advise primitives.
That technique should never be used, because it causes confusion. All
code in Emacs that advises other parts of Emacs was installed without
my knowledge. It is a bug that ought to be fixed.
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel