# HG changeset patch # User Karl Heuer # Date 905659116 0 # Node ID ec2d671b77baa4e9701426edc1ed0c3d462c0453 # Parent 2df8a4a5e284e3ceffc7d3198113c93dac4dd634 (Fmake_local_variable): Doc fix. diff -r 2df8a4a5e284 -r ec2d671b77ba src/data.c --- 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)