diff options
| author | Richard M. Stallman | 2005-02-15 06:33:15 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-02-15 06:33:15 +0000 |
| commit | 7a7df7ac8f5dbe0cfe36578bc5bac3032f634e48 (patch) | |
| tree | 36051666daa7ab372d21022896538afc408d05eb /src | |
| parent | 0f014aa1139b8cd2b36a9eb4ba1b59179d61a4c1 (diff) | |
| download | emacs-7a7df7ac8f5dbe0cfe36578bc5bac3032f634e48.tar.gz emacs-7a7df7ac8f5dbe0cfe36578bc5bac3032f634e48.zip | |
(Fsetq_default): Allow no arg case.
Diffstat (limited to 'src')
| -rw-r--r-- | src/data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data.c b/src/data.c index be1e4d33bbb..25691a4678b 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -1458,7 +1458,7 @@ for this variable. */) | |||
| 1458 | return value; | 1458 | return value; |
| 1459 | } | 1459 | } |
| 1460 | 1460 | ||
| 1461 | DEFUN ("setq-default", Fsetq_default, Ssetq_default, 2, UNEVALLED, 0, | 1461 | DEFUN ("setq-default", Fsetq_default, Ssetq_default, 0, UNEVALLED, 0, |
| 1462 | doc: /* Set the default value of variable VAR to VALUE. | 1462 | doc: /* Set the default value of variable VAR to VALUE. |
| 1463 | VAR, the variable name, is literal (not evaluated); | 1463 | VAR, the variable name, is literal (not evaluated); |
| 1464 | VALUE is an expression: it is evaluated and its value returned. | 1464 | VALUE is an expression: it is evaluated and its value returned. |
| @@ -1470,7 +1470,7 @@ More generally, you can use multiple variables and values, as in | |||
| 1470 | This sets each VAR's default value to the corresponding VALUE. | 1470 | This sets each VAR's default value to the corresponding VALUE. |
| 1471 | The VALUE for the Nth VAR can refer to the new default values | 1471 | The VALUE for the Nth VAR can refer to the new default values |
| 1472 | of previous VARs. | 1472 | of previous VARs. |
| 1473 | usage: (setq-default VAR VALUE [VAR VALUE...]) */) | 1473 | usage: (setq-default [VAR VALUE...]) */) |
| 1474 | (args) | 1474 | (args) |
| 1475 | Lisp_Object args; | 1475 | Lisp_Object args; |
| 1476 | { | 1476 | { |