Mercurial > emacs
comparison src/eval.c @ 6803:656d16ca0419
(Fsetq): Doc fix.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 11 Apr 1994 21:11:22 +0000 |
| parents | 6a16a95e7ad9 |
| children | 903d03ddf99c |
comparison
equal
deleted
inserted
replaced
| 6802:7d69da13c140 | 6803:656d16ca0419 |
|---|---|
| 388 struct gcpro gcpro1, gcpro2; | 388 struct gcpro gcpro1, gcpro2; |
| 389 register int argnum = -1; | 389 register int argnum = -1; |
| 390 | 390 |
| 391 val = Qnil; | 391 val = Qnil; |
| 392 | 392 |
| 393 if (NILP(args)) | 393 if (NILP (args)) |
| 394 return Qnil; | 394 return Qnil; |
| 395 | 395 |
| 396 args_left = args; | 396 args_left = args; |
| 397 val = Qnil; | 397 val = Qnil; |
| 398 GCPRO2 (args, val); | 398 GCPRO2 (args, val); |
| 403 val = Feval (Fcar (args_left)); | 403 val = Feval (Fcar (args_left)); |
| 404 else | 404 else |
| 405 Feval (Fcar (args_left)); | 405 Feval (Fcar (args_left)); |
| 406 args_left = Fcdr (args_left); | 406 args_left = Fcdr (args_left); |
| 407 } | 407 } |
| 408 while (!NILP(args_left)); | 408 while (!NILP (args_left)); |
| 409 | 409 |
| 410 UNGCPRO; | 410 UNGCPRO; |
| 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 SYMs are not evaluated. Thus (setq x y) sets x to the value of y.\n\ |
| 417 Each SYM is set before the next VAL is computed. | 417 Each SYM is set before the next VAL is computed.\n\ |
| 418 The return value of the `setq' form is the value of the last VAL.") | 418 The return value of the `setq' form is the value of the last VAL.") |
| 419 (args) | 419 (args) |
| 420 Lisp_Object args; | 420 Lisp_Object args; |
| 421 { | 421 { |
| 422 register Lisp_Object args_left; | 422 register Lisp_Object args_left; |
