diff options
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c index cb04426edf6..7f8f30ce088 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -1312,11 +1312,16 @@ DEFUN ("make-local-variable", Fmake_local_variable, Smake_local_variable, | |||
| 1312 | Other buffers will continue to share a common default value.\n\ | 1312 | Other buffers will continue to share a common default value.\n\ |
| 1313 | \(The buffer-local value of VARIABLE starts out as the same value\n\ | 1313 | \(The buffer-local value of VARIABLE starts out as the same value\n\ |
| 1314 | VARIABLE previously had. If VARIABLE was void, it remains void.\)\n\ | 1314 | VARIABLE previously had. If VARIABLE was void, it remains void.\)\n\ |
| 1315 | See also `make-variable-buffer-local'.\n\n\ | 1315 | See also `make-variable-buffer-local'.\n\ |
| 1316 | \n\ | ||
| 1316 | If the variable is already arranged to become local when set,\n\ | 1317 | If the variable is already arranged to become local when set,\n\ |
| 1317 | this function causes a local value to exist for this buffer,\n\ | 1318 | this function causes a local value to exist for this buffer,\n\ |
| 1318 | just as setting the variable would do.\n\ | 1319 | just as setting the variable would do.\n\ |
| 1319 | \n\ | 1320 | \n\ |
| 1321 | This function returns VARIABLE, and therefore\n\ | ||
| 1322 | (set (make-local-variable 'VARIABLE) VALUE-EXP)\n\ | ||
| 1323 | works.\n\ | ||
| 1324 | \n\ | ||
| 1320 | Do not use `make-local-variable' to make a hook variable buffer-local.\n\ | 1325 | Do not use `make-local-variable' to make a hook variable buffer-local.\n\ |
| 1321 | Use `make-local-hook' instead.") | 1326 | Use `make-local-hook' instead.") |
| 1322 | (variable) | 1327 | (variable) |