From 00bef2baa1bbcaa3e7e06c7516929bad87a6337c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Sj=C3=B8gren?= Date: Thu, 14 Jul 2011 20:29:19 +0200 Subject: [PATCH] * data.c (car, cdr): add functionality hints to documentation. --- src/ChangeLog | 4 ++++ 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 + + * 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 -- 2.39.2