Stefan Monnier <monn...@iro.umontreal.ca> writes: >> It would be nice if this advice were added to the relevant docstrings. > > Not sure exactly which advice you're referring to (the text you quoted > above is misleading: it would encourage the naive reader to just do the > work in `after-change-functions` since it's called only once per command > anyway, which they already instinctively do and which is exactly what we > don't want), nor which docstring you're referring to.
I was mostly referring to the docstring of `after-change-functions'. Maybe also `modification-hooks'\‘insert-in-front-hooks’\‘insert-behind-hooks’ text properties. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>