summaryrefslogtreecommitdiff
path: root/lispref/variables.texi
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2002-02-12 19:33:46 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2002-02-12 19:33:46 +0000
commit89cda0c5e9df20e7caebd110891e93957c7e6b4a (patch)
tree6360bb8a1d1c222c4ce0726f1e50b4421fdf4a2d /lispref/variables.texi
parent9a770d8d3356a72a4b66b256cc629ea97951306c (diff)
downloademacs-89cda0c5e9df20e7caebd110891e93957c7e6b4a.tar.gz
*** empty log message ***
Diffstat (limited to 'lispref/variables.texi')
-rw-r--r--lispref/variables.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/lispref/variables.texi b/lispref/variables.texi
index 5d19cbefd0e..df816f85b68 100644
--- a/lispref/variables.texi
+++ b/lispref/variables.texi
@@ -1291,7 +1291,9 @@ variables cannot have buffer-local bindings as well. @xref{Multiple
Displays}.
@strong{Note:} Do not use @code{make-local-variable} for a hook
-variable. Instead, use @code{make-local-hook}. @xref{Hooks}.
+variable. The hook variables are automatically made buffer-local
+as needed if you use the @var{local} argument to @code{add-hook} or
+@code{remove-hook}.
@end deffn
@deffn Command make-variable-buffer-local variable