aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-10-06 22:49:28 +0000
committerRichard M. Stallman1996-10-06 22:49:28 +0000
commit9ea65df9615776a2112f04aed36cf3b030666483 (patch)
tree6e7770e7e750c68e6e6c9f543ccce504e958ec58
parent0f9c0ff030a58227303ac74d20c79751ea0e43b7 (diff)
downloademacs-9ea65df9615776a2112f04aed36cf3b030666483.tar.gz
emacs-9ea65df9615776a2112f04aed36cf3b030666483.zip
Clarify how insert-in-front-hooks and insert-behind-hooks are used.
-rw-r--r--lispref/text.texi12
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)}
2441The operation of inserting text in a buffer, before actually modifying 2441The operation of inserting text in a buffer also calls the functions
2442the buffer, calls the functions listed in the 2442listed in the @code{insert-in-front-hooks} property of the following
2443@code{insert-in-front-hooks} property of the following character and in 2443character and in the @code{insert-behind-hooks} property of the
2444the @code{insert-behind-hooks} property of the preceding character. 2444preceding character. These functions receive two arguments, the
2445These functions receive two arguments, the beginning and end of the 2445beginning and end of the inserted text. The functions are called
2446inserted text. 2446@emph{after} the actual insertion takes place.
2447 2447
2448See also @ref{Change Hooks}, for other hooks that are called 2448See also @ref{Change Hooks}, for other hooks that are called
2449when you change text in a buffer. 2449when you change text in a buffer.