wolray / symbol-overlay

Highlight symbols with keymap-enabled overlays
346 stars 42 forks source link

after-change-functions may be nil #51

Closed seagle0128 closed 5 years ago

seagle0128 commented 5 years ago

According to the docstring of after-change-functions,

If an unhandled error happens in running these functions, the variable’s value remains nil. That prevents the error from happening repeatedly and making Emacs nonfunctional.

https://github.com/wolray/symbol-overlay/blob/e40a7c407f24158c45eaa5f54ed41f5e416a51dc/symbol-overlay.el#L426