[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/variables.texi
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/variables.texi |
Date: |
Fri, 26 Sep 2003 06:00:24 -0400 |
Index: emacs/lispref/variables.texi
diff -c emacs/lispref/variables.texi:1.44 emacs/lispref/variables.texi:1.45
*** emacs/lispref/variables.texi:1.44 Fri Sep 19 10:33:21 2003
--- emacs/lispref/variables.texi Fri Sep 26 06:00:24 2003
***************
*** 1281,1289 ****
variables cannot have buffer-local bindings as well. @xref{Multiple
Displays}.
! @strong{Note:} Do not use @code{make-local-variable} for a hook
! 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
--- 1281,1289 ----
variables cannot have buffer-local bindings as well. @xref{Multiple
Displays}.
! @strong{Warning:} do not use @code{make-local-variable} for a hook
! 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