summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-11-29 19:13:46 +0000
committerDave Love <fx@gnu.org>2000-11-29 19:13:46 +0000
commit09fe8c9e16656c744637b50dea3b05d618356636 (patch)
tree492c5140cd93910358305f4be886392a9fc01b43 /lispref
parent1583ed4c0cbaa28d782649ce79e95b54684e66c6 (diff)
downloademacs-09fe8c9e16656c744637b50dea3b05d618356636.tar.gz
add-hook change
Diffstat (limited to 'lispref')
-rw-r--r--lispref/modes.texi7
1 files changed, 2 insertions, 5 deletions
diff --git a/lispref/modes.texi b/lispref/modes.texi
index 12686adac48..06a400a249a 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -2242,11 +2242,8 @@ argument @var{append} is non-@code{nil}, the new hook function goes at
the end of the hook list and will be executed last.
If @var{local} is non-@code{nil}, that says to make the new hook
-function buffer-local in the current buffer. Before you can do this, you must
-make the hook itself buffer-local by calling @code{make-local-hook}
-(@strong{not} @code{make-local-variable}). If the hook itself is not
-buffer-local, then the value of @var{local} makes no difference---the
-hook function is always global.
+function buffer-local in the current buffer and automatically calls
+@code{make-local-hook} to make the hook itself buffer-local.
@end defun
@defun remove-hook hook function &optional local