Mercurial > emacs
changeset 23250:ec2d671b77ba
(Fmake_local_variable): Doc fix.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sun, 13 Sep 1998 03:58:36 +0000 |
parents | 2df8a4a5e284 |
children | f19f44b54f00 |
files | src/data.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/data.c Sun Sep 13 03:54:01 1998 +0000 +++ b/src/data.c Sun Sep 13 03:58:36 1998 +0000 @@ -1312,11 +1312,16 @@ Other buffers will continue to share a common default value.\n\ \(The buffer-local value of VARIABLE starts out as the same value\n\ VARIABLE previously had. If VARIABLE was void, it remains void.\)\n\ -See also `make-variable-buffer-local'.\n\n\ +See also `make-variable-buffer-local'.\n\ +\n\ If the variable is already arranged to become local when set,\n\ this function causes a local value to exist for this buffer,\n\ just as setting the variable would do.\n\ \n\ +This function returns VARIABLE, and therefore\n\ + (set (make-local-variable 'VARIABLE) VALUE-EXP)\n\ +works.\n\ +\n\ Do not use `make-local-variable' to make a hook variable buffer-local.\n\ Use `make-local-hook' instead.") (variable)