diff options
| author | Richard M. Stallman | 1996-10-06 22:49:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-10-06 22:49:28 +0000 |
| commit | 9ea65df9615776a2112f04aed36cf3b030666483 (patch) | |
| tree | 6e7770e7e750c68e6e6c9f543ccce504e958ec58 | |
| parent | 0f9c0ff030a58227303ac74d20c79751ea0e43b7 (diff) | |
| download | emacs-9ea65df9615776a2112f04aed36cf3b030666483.tar.gz emacs-9ea65df9615776a2112f04aed36cf3b030666483.zip | |
Clarify how insert-in-front-hooks and insert-behind-hooks are used.
| -rw-r--r-- | lispref/text.texi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lispref/text.texi b/lispref/text.texi index 29e6c4fb3bd..f15852ae55b 100644 --- a/lispref/text.texi +++ b/lispref/text.texi | |||
| @@ -2438,12 +2438,12 @@ the function will be called. | |||
| 2438 | @itemx insert-behind-hooks | 2438 | @itemx insert-behind-hooks |
| 2439 | @kindex insert-in-front-hooks @r{(text property)} | 2439 | @kindex insert-in-front-hooks @r{(text property)} |
| 2440 | @kindex insert-behind-hooks @r{(text property)} | 2440 | @kindex insert-behind-hooks @r{(text property)} |
| 2441 | The operation of inserting text in a buffer, before actually modifying | 2441 | The operation of inserting text in a buffer also calls the functions |
| 2442 | the buffer, calls the functions listed in the | 2442 | listed in the @code{insert-in-front-hooks} property of the following |
| 2443 | @code{insert-in-front-hooks} property of the following character and in | 2443 | character and in the @code{insert-behind-hooks} property of the |
| 2444 | the @code{insert-behind-hooks} property of the preceding character. | 2444 | preceding character. These functions receive two arguments, the |
| 2445 | These functions receive two arguments, the beginning and end of the | 2445 | beginning and end of the inserted text. The functions are called |
| 2446 | inserted text. | 2446 | @emph{after} the actual insertion takes place. |
| 2447 | 2447 | ||
| 2448 | See also @ref{Change Hooks}, for other hooks that are called | 2448 | See also @ref{Change Hooks}, for other hooks that are called |
| 2449 | when you change text in a buffer. | 2449 | when you change text in a buffer. |