Mercurial > emacs
comparison src/data.c @ 6919:dabe7a363f28
(Fsetq_default): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 16 Apr 1994 05:15:17 +0000 |
parents | f70a517ae9e2 |
children | a5199564772e |
comparison
equal
deleted
inserted
replaced
6918:c3af68680a33 | 6919:dabe7a363f28 |
---|---|
1039 | 1039 |
1040 return value; | 1040 return value; |
1041 } | 1041 } |
1042 | 1042 |
1043 DEFUN ("setq-default", Fsetq_default, Ssetq_default, 2, UNEVALLED, 0, | 1043 DEFUN ("setq-default", Fsetq_default, Ssetq_default, 2, UNEVALLED, 0, |
1044 "\ | 1044 "Set the default value of variable VAR to VALUE.\n\ |
1045 \(setq-default SYM VAL SYM VAL...): set each SYM's default value to its VAL.\n\ | 1045 VAR, the variable name, is literal (not evaluated);\n\ |
1046 VAL is evaluated; SYM is not. The default value is seen in buffers that do\n\ | 1046 VALUE is an expression and it is evaluated.\n\ |
1047 not have their own values for this variable.") | 1047 The default value of a variable is seen in buffers\n\ |
1048 that do not have their own values for the variable.\n\ | |
1049 \n\ | |
1050 More generally, you can use multiple variables and values, as in\n\ | |
1051 (setq-default SYM VALUE SYM VALUE...)\n\ | |
1052 This sets each SYM's default value to the corresponding VALUE.\n\ | |
1053 The VALUE for the Nth SYM can refer to the new default values\n\ | |
1054 of previous SYMs.") | |
1048 (args) | 1055 (args) |
1049 Lisp_Object args; | 1056 Lisp_Object args; |
1050 { | 1057 { |
1051 register Lisp_Object args_left; | 1058 register Lisp_Object args_left; |
1052 register Lisp_Object val, sym; | 1059 register Lisp_Object val, sym; |