Questions tagged [monkey-patching]
The monkey-patching tag has no summary.
5 questions
0 votes
2 answers
254 views
Any way to access a lexical let variable outside of the let?
I need to retrieve a local, lexical, runtime variable from a function, but I'm unable to modify the function to return it because it is from an external library. The variable I'm unable to reach is ...
2 votes
1 answer
627 views
Workaround for "Invalid search bound (wrong side of point)" in CC Mode
Emacs 24.x and 25.x have a bug in CC Mode which can result in some operations failing with the error Invalid search bound (wrong side of point) For example, I can reproduce it with the following ...
5 votes
2 answers
309 views
Shallowly override functions within a target function
I'm exploring options for monkey-patching and I'm wondering if the following is within reason. I would like to override a particular function within some target function so that calls within the ...