Mercurial > emacs
comparison src/data.c @ 90054:f2ebccfa87d4
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-74
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-709
Update from CVS: src/indent.c (Fvertical_motion): Fix last change.
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-710
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-715
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-716
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-74
Update from CVS
| author | Miles Bader <miles@gnu.org> |
|---|---|
| date | Wed, 08 Dec 2004 05:02:30 +0000 |
| parents | cb7f41387eb3 947c0bab2dd9 |
| children | eac554634bfa |
comparison
equal
deleted
inserted
replaced
| 90053:fff5f1a61d92 | 90054:f2ebccfa87d4 |
|---|---|
| 1507 in which case the default value is in effect. | 1507 in which case the default value is in effect. |
| 1508 Note that binding the variable with `let', or setting it while | 1508 Note that binding the variable with `let', or setting it while |
| 1509 a `let'-style binding made in this buffer is in effect, | 1509 a `let'-style binding made in this buffer is in effect, |
| 1510 does not make the variable buffer-local. Return VARIABLE. | 1510 does not make the variable buffer-local. Return VARIABLE. |
| 1511 | 1511 |
| 1512 In most cases it is better to use `make-local-variable', | |
| 1513 which makes a variable local in just one buffer. | |
| 1514 | |
| 1512 The function `default-value' gets the default value and `set-default' sets it. */) | 1515 The function `default-value' gets the default value and `set-default' sets it. */) |
| 1513 (variable) | 1516 (variable) |
| 1514 register Lisp_Object variable; | 1517 register Lisp_Object variable; |
| 1515 { | 1518 { |
| 1516 register Lisp_Object tem, valcontents, newval; | 1519 register Lisp_Object tem, valcontents, newval; |
| 1550 1, 1, "vMake Local Variable: ", | 1553 1, 1, "vMake Local Variable: ", |
| 1551 doc: /* Make VARIABLE have a separate value in the current buffer. | 1554 doc: /* Make VARIABLE have a separate value in the current buffer. |
| 1552 Other buffers will continue to share a common default value. | 1555 Other buffers will continue to share a common default value. |
| 1553 \(The buffer-local value of VARIABLE starts out as the same value | 1556 \(The buffer-local value of VARIABLE starts out as the same value |
| 1554 VARIABLE previously had. If VARIABLE was void, it remains void.\) | 1557 VARIABLE previously had. If VARIABLE was void, it remains void.\) |
| 1555 See also `make-variable-buffer-local'. Return VARIABLE. | 1558 Return VARIABLE. |
| 1556 | 1559 |
| 1557 If the variable is already arranged to become local when set, | 1560 If the variable is already arranged to become local when set, |
| 1558 this function causes a local value to exist for this buffer, | 1561 this function causes a local value to exist for this buffer, |
| 1559 just as setting the variable would do. | 1562 just as setting the variable would do. |
| 1560 | 1563 |
| 1561 This function returns VARIABLE, and therefore | 1564 This function returns VARIABLE, and therefore |
| 1562 (set (make-local-variable 'VARIABLE) VALUE-EXP) | 1565 (set (make-local-variable 'VARIABLE) VALUE-EXP) |
| 1563 works. | 1566 works. |
| 1567 | |
| 1568 See also `make-variable-buffer-local'. | |
| 1564 | 1569 |
| 1565 Do not use `make-local-variable' to make a hook variable buffer-local. | 1570 Do not use `make-local-variable' to make a hook variable buffer-local. |
| 1566 Instead, use `add-hook' and specify t for the LOCAL argument. */) | 1571 Instead, use `add-hook' and specify t for the LOCAL argument. */) |
| 1567 (variable) | 1572 (variable) |
| 1568 register Lisp_Object variable; | 1573 register Lisp_Object variable; |
