From 05edf8bd682f1f753af8a8312117b46ab09ff136 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sun, 13 Sep 1998 03:58:36 +0000 Subject: [PATCH] (Fmake_local_variable): Doc fix. --- src/data.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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, 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) -- 2.39.2