diff options
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. */) | |||
| 1709 | DEFUN ("make-variable-frame-local", Fmake_variable_frame_local, Smake_variable_frame_local, | 1709 | DEFUN ("make-variable-frame-local", Fmake_variable_frame_local, Smake_variable_frame_local, |
| 1710 | 1, 1, "vMake Variable Frame Local: ", | 1710 | 1, 1, "vMake Variable Frame Local: ", |
| 1711 | doc: /* Enable VARIABLE to have frame-local bindings. | 1711 | doc: /* Enable VARIABLE to have frame-local bindings. |
| 1712 | When a frame-local binding exists in the current frame, | 1712 | This does not create any frame-local bindings for VARIABLE, |
| 1713 | it is in effect whenever the current buffer has no buffer-local binding. | 1713 | it just makes them possible. |
| 1714 | A frame-local binding is actually a frame parameter value; | 1714 | |
| 1715 | thus, any given frame has a local binding for VARIABLE if it has | 1715 | A frame-local binding is actually a frame parameter value. |
| 1716 | a value for the frame parameter named VARIABLE. Return VARIABLE. | 1716 | If a frame F has a value for the frame parameter named VARIABLE, |
| 1717 | 1717 | that also acts as a frame-local binding for VARIABLE in F-- | |
| 1718 | This function does not in itself create any frame-local bindings for | 1718 | provided this function has been called to enable VARIABLE |
| 1719 | VARIABLE. See `modify-frame-parameters' for how to set frame parameters. */) | 1719 | to have frame-local bindings at all. |
| 1720 | |||
| 1721 | The only way to create a frame-local binding for VARIABLE in a frame | ||
| 1722 | is to set the VARIABLE frame parameter of that frame. See | ||
| 1723 | `modify-frame-parameters' for how to set frame parameters. | ||
| 1724 | |||
| 1725 | Buffer-local bindings take precedence over frame-local bindings. */) | ||
| 1720 | (variable) | 1726 | (variable) |
| 1721 | register Lisp_Object variable; | 1727 | register Lisp_Object variable; |
| 1722 | { | 1728 | { |