diff options
author | Adam Sjøgren <asjo@koldfront.dk> | 2011-07-14 20:29:19 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-14 20:29:19 +0200 |
commit | 00bef2baa1bbcaa3e7e06c7516929bad87a6337c (patch) | |
tree | a2f94479adfa066aa0537d994e26d4ddc040d2ab | |
parent | 2f5c602485ff9bd41b9d791b371f279a6379effa (diff) | |
download | emacs-00bef2baa1bbcaa3e7e06c7516929bad87a6337c.tar.gz |
* data.c (car, cdr): add functionality hints to documentation.
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/data.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8d37c524c84..efc2956dd9d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-07-14 Adam Sjøgren <asjo@koldfront.dk> + + * data.c (car, cdr): add functionality hints to documentation. + 2011-07-14 Eli Zaretskii <eliz@gnu.org> * bidi.c (bidi_dump_cached_states): Fix format of displaying diff --git a/src/data.c b/src/data.c index 7bc04592c57..b269fc3d3c3 100644 --- a/src/data.c +++ b/src/data.c @@ -463,7 +463,7 @@ DEFUN ("floatp", Ffloatp, Sfloatp, 1, 1, 0, /* Extract and set components of lists */ DEFUN ("car", Fcar, Scar, 1, 1, 0, - doc: /* Return the car of LIST. If arg is nil, return nil. + doc: /* Return the car (first element) of LIST. If arg is nil, return nil. Error if arg is not nil and not a cons cell. See also `car-safe'. See Info node `(elisp)Cons Cells' for a discussion of related basic @@ -481,7 +481,7 @@ DEFUN ("car-safe", Fcar_safe, Scar_safe, 1, 1, 0, } DEFUN ("cdr", Fcdr, Scdr, 1, 1, 0, - doc: /* Return the cdr of LIST. If arg is nil, return nil. + doc: /* Return the cdr (rest) of LIST. If arg is nil, return nil. Error if arg is not nil and not a cons cell. See also `cdr-safe'. See Info node `(elisp)Cons Cells' for a discussion of related basic |