1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00

Clarify how insert-in-front-hooks and insert-behind-hooks are used.

This commit is contained in:
Richard M. Stallman 1996-10-06 22:49:28 +00:00
parent 0f9c0ff030
commit 9ea65df961

View File

@ -2438,12 +2438,12 @@ the function will be called.
@itemx insert-behind-hooks
@kindex insert-in-front-hooks @r{(text property)}
@kindex insert-behind-hooks @r{(text property)}
The operation of inserting text in a buffer, before actually modifying
the buffer, calls the functions listed in the
@code{insert-in-front-hooks} property of the following character and in
the @code{insert-behind-hooks} property of the preceding character.
These functions receive two arguments, the beginning and end of the
inserted text.
The operation of inserting text in a buffer also calls the functions
listed in the @code{insert-in-front-hooks} property of the following
character and in the @code{insert-behind-hooks} property of the
preceding character. These functions receive two arguments, the
beginning and end of the inserted text. The functions are called
@emph{after} the actual insertion takes place.
See also @ref{Change Hooks}, for other hooks that are called
when you change text in a buffer.