Mercurial > emacs
comparison src/data.c @ 21344:6e3839022c76
(Fmake_variable_frame_local): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 03 Apr 1998 03:13:32 +0000 |
parents | 50929073a0ba |
children | fbb2f87ce945 |
comparison
equal
deleted
inserted
replaced
21343:a3059cd301f1 | 21344:6e3839022c76 |
---|---|
1442 | 1442 |
1443 /* Lisp functions for creating and removing buffer-local variables. */ | 1443 /* Lisp functions for creating and removing buffer-local variables. */ |
1444 | 1444 |
1445 DEFUN ("make-variable-frame-local", Fmake_variable_frame_local, Smake_variable_frame_local, | 1445 DEFUN ("make-variable-frame-local", Fmake_variable_frame_local, Smake_variable_frame_local, |
1446 1, 1, "vMake Variable Frame Local: ", | 1446 1, 1, "vMake Variable Frame Local: ", |
1447 "Make VARIABLE have a separate value for each buffer.\n\ | 1447 "Enable VARIABLE to have frame-local bindings.\n\ |
1448 At any time, the value for the current buffer is in effect.\n\ | 1448 When a frame-local binding exists in the current frame,\n\ |
1449 There is also a default value which is seen in any buffer which has not yet\n\ | 1449 it is in effect whenever the current buffer has no buffer-local binding.\n\ |
1450 set its own value.\n\ | 1450 A frame-local binding is actual a frame parameter value;\n\ |
1451 Using `set' or `setq' to set the variable causes it to have a separate value\n\ | 1451 thus, any given frame has a local binding for VARIABLE\n\ |
1452 for the current buffer if it was previously using the default value.\n\ | 1452 if it has a value for the frame parameter named VARIABLE.\n\ |
1453 The function `default-value' gets the default value and `set-default' sets it.") | 1453 See `modify-frame-parameters'.") |
1454 (variable) | |
1455 register Lisp_Object variable; | 1454 register Lisp_Object variable; |
1456 { | 1455 { |
1457 register Lisp_Object tem, valcontents, newval; | 1456 register Lisp_Object tem, valcontents, newval; |
1458 | 1457 |
1459 CHECK_SYMBOL (variable, 0); | 1458 CHECK_SYMBOL (variable, 0); |