undercover-el / undercover.el

A test coverage library for Emacs
MIT License
86 stars 14 forks source link

Make Undercover work with upcoming Emacs 27 #57

Closed doublep closed 4 years ago

doublep commented 4 years ago

This change adapts Undercover for latest Emacs source code. The basic difference is that it no longer works to defalias edebug-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.

CyberShadow commented 4 years ago

Thank you!