3 ms·
Usually packages don't modify code in core Emacs or in other packages. Often, they use package-supplied "hooks" to add behavior to other packages. Failing that,
by NoGravitas 5y ago
Usually packages don't modify code in core Emacs or in other packages. Often, they use package-supplied "hooks" to add behavior to other packages. Failing that, there's the possibility of 'advising' functions to add/change behavior at certain points without actually monkeypatching. I've never seen a distributed package actually monkeypatch anything, though it is something you could do in your personal config.
- natrys 5y agoYeah and even in personal config one could use el-patch[1], to make monkeypatching future proof. [1] https://github.com/raxod502/el-patch https://github.com/raxod502/el-patch