Mercurial > emacs
comparison src/eval.c @ 6918:c3af68680a33
(Fsetq): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 16 Apr 1994 05:07:35 +0000 |
parents | 903d03ddf99c |
children | bb5db306a305 |
comparison
equal
deleted
inserted
replaced
6917:a21ad1a76532 | 6918:c3af68680a33 |
---|---|
411 return val; | 411 return val; |
412 } | 412 } |
413 | 413 |
414 DEFUN ("setq", Fsetq, Ssetq, 0, UNEVALLED, 0, | 414 DEFUN ("setq", Fsetq, Ssetq, 0, UNEVALLED, 0, |
415 "(setq SYM VAL SYM VAL ...): set each SYM to the value of its VAL.\n\ | 415 "(setq SYM VAL SYM VAL ...): set each SYM to the value of its VAL.\n\ |
416 The SYMs are not evaluated. Thus (setq x y) sets x to the value of y.\n\ | 416 The symbols SYM are variables; they are literal (not evaluated).\n\ |
417 Each SYM is set before the next VAL is computed.\n\ | 417 The values VAL are expressions; they are evaluated.\n\ |
418 Thus, (setq x (1+ y)) sets `x' to the value of `(1+ y)'.\n\ | |
419 The second VAL is not computed until after the first SYM is set, and so on;\n\ | |
420 each VAL can use the new value of variables set earlier in the `setq'.\n\ | |
418 The return value of the `setq' form is the value of the last VAL.") | 421 The return value of the `setq' form is the value of the last VAL.") |
419 (args) | 422 (args) |
420 Lisp_Object args; | 423 Lisp_Object args; |
421 { | 424 { |
422 register Lisp_Object args_left; | 425 register Lisp_Object args_left; |