Richard Stallman <[EMAIL PROTECTED]> writes: > IIRC defadvice has some support for such things (e.g. you can > add an advice even before the function is defined). Maybe it'd > be a good idea to implement debug.el in terms of advice. > > Right now, the code to implement debug on entry is so simple that it > would be a shame to use something as heavyweight as the advice > mechanism. However, if these new changes add a lot of complexity, > maybe using the advice mechanism will become the simplest way.
What about advising the primitives that define functions to add debug-entry-code when a function is in debug-function-list? Would that work? Lute. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel