diff options
author | Richard M. Stallman <rms@gnu.org> | 2005-10-30 03:02:43 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2005-10-30 03:02:43 +0000 |
commit | 4d4d36b1bc12d05523f869c5bb37bf1765eff055 (patch) | |
tree | a3905e6782f4716e1de57cec712688c9f570505a /src/data.c | |
parent | bccfb31031b10ac2de02bf061516fd8fbdf6d56b (diff) | |
download | emacs-4d4d36b1bc12d05523f869c5bb37bf1765eff055.tar.gz |
(Fmake_variable_frame_local): Doc fix.
Diffstat (limited to 'src/data.c')
-rw-r--r-- | src/data.c | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/src/data.c b/src/data.c index 319f8768424..75fa3a89086 100644 --- a/src/data.c +++ b/src/data.c @@ -1709,14 +1709,20 @@ From now on the default value will apply in this buffer. Return VARIABLE. */) DEFUN ("make-variable-frame-local", Fmake_variable_frame_local, Smake_variable_frame_local, 1, 1, "vMake Variable Frame Local: ", doc: /* Enable VARIABLE to have frame-local bindings. -When a frame-local binding exists in the current frame, -it is in effect whenever the current buffer has no buffer-local binding. -A frame-local binding is actually a frame parameter value; -thus, any given frame has a local binding for VARIABLE if it has -a value for the frame parameter named VARIABLE. Return VARIABLE. - -This function does not in itself create any frame-local bindings for -VARIABLE. See `modify-frame-parameters' for how to set frame parameters. */) +This does not create any frame-local bindings for VARIABLE, +it just makes them possible. + +A frame-local binding is actually a frame parameter value. +If a frame F has a value for the frame parameter named VARIABLE, +that also acts as a frame-local binding for VARIABLE in F-- +provided this function has been called to enable VARIABLE +to have frame-local bindings at all. + +The only way to create a frame-local binding for VARIABLE in a frame +is to set the VARIABLE frame parameter of that frame. See +`modify-frame-parameters' for how to set frame parameters. + +Buffer-local bindings take precedence over frame-local bindings. */) (variable) register Lisp_Object variable; { |