elisp-bug-hunter
elisp-bug-hunter copied to clipboard
Allow users to specify header and footer for code
- bug-hunter.el (bug-hunter-header): New variable. (bug-hunter-footer): New variable. (bug-hunter--print-to-temp): Include bug-hunter-header and bug-hunter-footer.
- README.org: Document bug-hunter-header and bug-hunter-footer.
- bug-hunter-test.el: Add tests for bug-hunter-header and bug-hunter-footer.
I needed to do some setup and teardown to simplify interactive bisection of my code. This might help with https://github.com/Malabarba/elisp-bug-hunter/issues/27 , too.
@sachac Thank you, I have tried and your patch works for straight.el package manager too!