Mercurial > emacs
changeset 6918:c3af68680a33
(Fsetq): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 16 Apr 1994 05:07:35 +0000 |
parents | a21ad1a76532 |
children | dabe7a363f28 |
files | src/eval.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eval.c Sat Apr 16 04:52:26 1994 +0000 +++ b/src/eval.c Sat Apr 16 05:07:35 1994 +0000 @@ -413,8 +413,11 @@ DEFUN ("setq", Fsetq, Ssetq, 0, UNEVALLED, 0, "(setq SYM VAL SYM VAL ...): set each SYM to the value of its VAL.\n\ -The SYMs are not evaluated. Thus (setq x y) sets x to the value of y.\n\ -Each SYM is set before the next VAL is computed.\n\ +The symbols SYM are variables; they are literal (not evaluated).\n\ +The values VAL are expressions; they are evaluated.\n\ +Thus, (setq x (1+ y)) sets `x' to the value of `(1+ y)'.\n\ +The second VAL is not computed until after the first SYM is set, and so on;\n\ +each VAL can use the new value of variables set earlier in the `setq'.\n\ The return value of the `setq' form is the value of the last VAL.") (args) Lisp_Object args;