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:
parent
b68f60d703
commit
fbbad95fff
1 changed files with 4 additions and 0 deletions
|
|
@ -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)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue