From: Adam Sjøgren Date: Thu, 14 Jul 2011 18:29:19 +0000 (+0200) Subject: * data.c (car, cdr): add functionality hints to documentation. X-Git-Tag: emacs-pretest-24.0.90~104^2~271 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=00bef2baa1bbcaa3e7e06c7516929bad87a6337c;p=emacs.git * data.c (car, cdr): add functionality hints to documentation. --- 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 + + * data.c (car, cdr): add functionality hints to documentation. + 2011-07-14 Eli Zaretskii * 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