1509 |
a `let'-style binding made in this buffer is in effect, |
a `let'-style binding made in this buffer is in effect, |
1510 |
does not make the variable buffer-local. Return VARIABLE. |
does not make the variable buffer-local. Return VARIABLE. |
1511 |
|
|
1512 |
|
In most cases it is better to use `make-local-variable', |
1513 |
|
which makes a variable local in just one buffer. |
1514 |
|
|
1515 |
The function `default-value' gets the default value and `set-default' sets it. */) |
The function `default-value' gets the default value and `set-default' sets it. */) |
1516 |
(variable) |
(variable) |
1517 |
register Lisp_Object variable; |
register Lisp_Object variable; |
1555 |
Other buffers will continue to share a common default value. |
Other buffers will continue to share a common default value. |
1556 |
\(The buffer-local value of VARIABLE starts out as the same value |
\(The buffer-local value of VARIABLE starts out as the same value |
1557 |
VARIABLE previously had. If VARIABLE was void, it remains void.\) |
VARIABLE previously had. If VARIABLE was void, it remains void.\) |
1558 |
See also `make-variable-buffer-local'. Return VARIABLE. |
Return VARIABLE. |
1559 |
|
|
1560 |
If the variable is already arranged to become local when set, |
If the variable is already arranged to become local when set, |
1561 |
this function causes a local value to exist for this buffer, |
this function causes a local value to exist for this buffer, |
1565 |
(set (make-local-variable 'VARIABLE) VALUE-EXP) |
(set (make-local-variable 'VARIABLE) VALUE-EXP) |
1566 |
works. |
works. |
1567 |
|
|
1568 |
|
See also `make-variable-buffer-local'. |
1569 |
|
|
1570 |
Do not use `make-local-variable' to make a hook variable buffer-local. |
Do not use `make-local-variable' to make a hook variable buffer-local. |
1571 |
Instead, use `add-hook' and specify t for the LOCAL argument. */) |
Instead, use `add-hook' and specify t for the LOCAL argument. */) |
1572 |
(variable) |
(variable) |