# HG changeset patch # User Dave Love # Date 975525226 0 # Node ID da2223d65c860eee9e5a84813a02d3375bb8a7fc # Parent e998ea898e46168b80038bec0507233319b665ea add-hook change diff -r e998ea898e46 -r da2223d65c86 lispref/modes.texi --- a/lispref/modes.texi Wed Nov 29 19:13:21 2000 +0000 +++ b/lispref/modes.texi Wed Nov 29 19:13:46 2000 +0000 @@ -2242,11 +2242,8 @@ 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