Mercurial > emacs
comparison src/data.c @ 90288:7432ca837c8d
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-9
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 16-33)
- Update from CVS
- Install ERC.
- Fix ERC compiler warnings.
- Use utf-8 encoding in ERC ChangeLogs.
- Merge ERC-related Viper hacks into Viper.
- Merge from erc--main--0
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 8-13)
- Merge from emacs--devo--0
- Update from CVS
| author | Miles Bader <miles@gnu.org> |
|---|---|
| date | Wed, 01 Feb 2006 10:07:17 +0000 |
| parents | 7beb78bc1f8e a224550f3e25 |
| children | c5406394f567 |
comparison
equal
deleted
inserted
replaced
| 90287:3cd97358d81a | 90288:7432ca837c8d |
|---|---|
| 272 return Qnil; | 272 return Qnil; |
| 273 return Qt; | 273 return Qt; |
| 274 } | 274 } |
| 275 | 275 |
| 276 DEFUN ("listp", Flistp, Slistp, 1, 1, 0, | 276 DEFUN ("listp", Flistp, Slistp, 1, 1, 0, |
| 277 doc: /* Return t if OBJECT is a list. This includes nil. */) | 277 doc: /* Return t if OBJECT is a list, that is, a cons cell or nil. |
| 278 Otherwise, return nil. */) | |
| 278 (object) | 279 (object) |
| 279 Lisp_Object object; | 280 Lisp_Object object; |
| 280 { | 281 { |
| 281 if (CONSP (object) || NILP (object)) | 282 if (CONSP (object) || NILP (object)) |
| 282 return Qt; | 283 return Qt; |
| 519 | 520 |
| 520 /* Extract and set components of lists */ | 521 /* Extract and set components of lists */ |
| 521 | 522 |
| 522 DEFUN ("car", Fcar, Scar, 1, 1, 0, | 523 DEFUN ("car", Fcar, Scar, 1, 1, 0, |
| 523 doc: /* Return the car of LIST. If arg is nil, return nil. | 524 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'. */) | 525 Error if arg is not nil and not a cons cell. See also `car-safe'. |
| 526 | |
| 527 See Info node `(elisp)Cons Cells' for a discussion of related basic | |
| 528 Lisp concepts such as car, cdr, cons cell and list. */) | |
| 525 (list) | 529 (list) |
| 526 register Lisp_Object list; | 530 register Lisp_Object list; |
| 527 { | 531 { |
| 528 while (1) | 532 while (1) |
| 529 { | 533 { |
| 547 return Qnil; | 551 return Qnil; |
| 548 } | 552 } |
| 549 | 553 |
| 550 DEFUN ("cdr", Fcdr, Scdr, 1, 1, 0, | 554 DEFUN ("cdr", Fcdr, Scdr, 1, 1, 0, |
| 551 doc: /* Return the cdr of LIST. If arg is nil, return nil. | 555 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'. */) | 556 Error if arg is not nil and not a cons cell. See also `cdr-safe'. |
| 557 | |
| 558 See Info node `(elisp)Cons Cells' for a discussion of related basic | |
| 559 Lisp concepts such as cdr, car, cons cell and list. */) | |
| 553 (list) | 560 (list) |
| 554 register Lisp_Object list; | 561 register Lisp_Object list; |
| 555 { | 562 { |
| 556 while (1) | 563 while (1) |
| 557 { | 564 { |
