Mercurial > emacs
comparison src/data.c @ 68444:3eb2a97faeda
(Fcar, Fcdr): Add links to Elisp manual to the docstrings.
| author | Luc Teirlinck <teirllm@auburn.edu> |
|---|---|
| date | Sat, 28 Jan 2006 23:16:35 +0000 |
| parents | 33b15a14f9b3 |
| children | 8ad0f8c7115f |
comparison
equal
deleted
inserted
replaced
| 68443:109e1f35974e | 68444:3eb2a97faeda |
|---|---|
| 519 | 519 |
| 520 /* Extract and set components of lists */ | 520 /* Extract and set components of lists */ |
| 521 | 521 |
| 522 DEFUN ("car", Fcar, Scar, 1, 1, 0, | 522 DEFUN ("car", Fcar, Scar, 1, 1, 0, |
| 523 doc: /* Return the car of LIST. If arg is nil, return nil. | 523 doc: /* Return the car of LIST. If arg is nil, return nil. |
| 524 Error if arg is not nil and not a cons cell. See also `car-safe'. */) | 524 Error if arg is not nil and not a cons cell. See also `car-safe'. |
| 525 | |
| 526 See Info node `(elisp)Cons Cells' for a discussion of basic Lisp | |
| 527 concepts such as car, cdr, cons cell and list. */) | |
| 525 (list) | 528 (list) |
| 526 register Lisp_Object list; | 529 register Lisp_Object list; |
| 527 { | 530 { |
| 528 while (1) | 531 while (1) |
| 529 { | 532 { |
| 547 return Qnil; | 550 return Qnil; |
| 548 } | 551 } |
| 549 | 552 |
| 550 DEFUN ("cdr", Fcdr, Scdr, 1, 1, 0, | 553 DEFUN ("cdr", Fcdr, Scdr, 1, 1, 0, |
| 551 doc: /* Return the cdr of LIST. If arg is nil, return nil. | 554 doc: /* Return the cdr of LIST. If arg is nil, return nil. |
| 552 Error if arg is not nil and not a cons cell. See also `cdr-safe'. */) | 555 Error if arg is not nil and not a cons cell. See also `cdr-safe'. |
| 556 | |
| 557 See Info node `(elisp)Cons Cells' for a discussion of basic Lisp | |
| 558 concepts such as cdr, car, cons cell and list. */) | |
| 553 (list) | 559 (list) |
| 554 register Lisp_Object list; | 560 register Lisp_Object list; |
| 555 { | 561 { |
| 556 while (1) | 562 while (1) |
| 557 { | 563 { |
