1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00

(Special Properties): Change hook functions should bind

inhibit-modification-hooks around altering buffer text.
This commit is contained in:
Richard M. Stallman 2005-07-03 16:38:17 +00:00
parent b68f60d703
commit fbbad95fff

View file

@ -3152,6 +3152,10 @@ particular modification hook function appears on several characters
being modified by a single primitive, you can't predict how many times
the function will be called.
If these functions modify the buffer, they should bind
@code{inhibit-modification-hooks} to @code{t} around doing so, to
avoid confusing the internal mechanism that calls these hooks.
@item insert-in-front-hooks
@itemx insert-behind-hooks
@kindex insert-in-front-hooks @r{(text property)}