Mercurial > emacs
comparison lispref/variables.texi @ 52626:fe75563f4d13
Avoid @strong{Note:}.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 26 Sep 2003 10:00:24 +0000 |
parents | 8fdcd48f4b33 |
children | 025f7b9061e6 |
comparison
equal
deleted
inserted
replaced
52625:bfc707ae140a | 52626:fe75563f4d13 |
---|---|
1279 | 1279 |
1280 If the variable is terminal-local, this function signals an error. Such | 1280 If the variable is terminal-local, this function signals an error. Such |
1281 variables cannot have buffer-local bindings as well. @xref{Multiple | 1281 variables cannot have buffer-local bindings as well. @xref{Multiple |
1282 Displays}. | 1282 Displays}. |
1283 | 1283 |
1284 @strong{Note:} Do not use @code{make-local-variable} for a hook | 1284 @strong{Warning:} do not use @code{make-local-variable} for a hook |
1285 variable. The hook variables are automatically made buffer-local | 1285 variable. The hook variables are automatically made buffer-local as |
1286 as needed if you use the @var{local} argument to @code{add-hook} or | 1286 needed if you use the @var{local} argument to @code{add-hook} or |
1287 @code{remove-hook}. | 1287 @code{remove-hook}. |
1288 @end deffn | 1288 @end deffn |
1289 | 1289 |
1290 @deffn Command make-variable-buffer-local variable | 1290 @deffn Command make-variable-buffer-local variable |
1291 This function marks @var{variable} (a symbol) automatically | 1291 This function marks @var{variable} (a symbol) automatically |