summaryrefslogtreecommitdiff
path: root/src/data.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1998-09-13 03:58:36 +0000
committerKarl Heuer <kwzh@gnu.org>1998-09-13 03:58:36 +0000
commit05edf8bd682f1f753af8a8312117b46ab09ff136 (patch)
treefa851983f8cf8ca75717fbf7682b9b7a91e91bfc /src/data.c
parent26a9b1f3b7c87d7b0374c1c9750ee563d546c07c (diff)
downloademacs-05edf8bd682f1f753af8a8312117b46ab09ff136.tar.gz
(Fmake_local_variable): Doc fix.
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c7
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,
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)