From: Karl Heuer Date: Sun, 13 Sep 1998 03:58:36 +0000 (+0000) Subject: (Fmake_local_variable): Doc fix. X-Git-Tag: emacs-20.4~1699 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=05edf8bd682f1f753af8a8312117b46ab09ff136;p=emacs.git (Fmake_local_variable): Doc fix. --- 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)