This change adapts Undercover for latest Emacs source code. The basic difference is that it no longer works to defaliasedebug-before/after, because edebug-enter overrides the aliases. Instead, desired functions should be put to edebug-behavior-alist and property edebug-behavior set on the instrumented functions. Later Edebug will use the property to look up the functions in the alist.
This change adapts Undercover for latest Emacs source code. The basic difference is that it no longer works to
defalias
edebug-before/after
, becauseedebug-enter
overrides the aliases. Instead, desired functions should be put toedebug-behavior-alist
and propertyedebug-behavior
set on the instrumented functions. Later Edebug will use the property to look up the functions in the alist.