comparison man/lispref/variables.texi @ 298:70ad99077275 r21-0b47

Import from CVS: tag r21-0b47
author cvs
date Mon, 13 Aug 2007 10:39:40 +0200
parents 376386a54a3c
children 341dac730539
comparison
equal deleted inserted replaced
297:deca3c1083ac 298:70ad99077275
1085 Making a variable buffer-local within a @code{let}-binding for that 1085 Making a variable buffer-local within a @code{let}-binding for that
1086 variable does not work. This is because @code{let} does not distinguish 1086 variable does not work. This is because @code{let} does not distinguish
1087 between different kinds of bindings; it knows only which variable the 1087 between different kinds of bindings; it knows only which variable the
1088 binding was made for. 1088 binding was made for.
1089 1089
1090 @strong{Note:} do not use @code{make-local-variable} for a hook 1090 @strong{Please note:} do not use @code{make-local-variable} for a hook
1091 variable. Instead, use @code{make-local-hook}. @xref{Hooks}. 1091 variable. Instead, use @code{make-local-hook}. @xref{Hooks}.
1092 @end deffn 1092 @end deffn
1093 1093
1094 @deffn Command make-variable-buffer-local variable 1094 @deffn Command make-variable-buffer-local variable
1095 This function marks @var{variable} (a symbol) automatically 1095 This function marks @var{variable} (a symbol) automatically