[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/doc/lispref lists.texi
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] emacs/doc/lispref lists.texi |
Date: |
Sun, 22 Feb 2009 00:42:28 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 09/02/22 00:42:28
Modified files:
doc/lispref : lists.texi
Log message:
(List Elements): Copyedits.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/lispref/lists.texi?cvsroot=emacs&r1=1.5&r2=1.6
Patches:
Index: lists.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/lists.texi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- lists.texi 22 Feb 2009 00:19:57 -0000 1.5
+++ lists.texi 22 Feb 2009 00:42:28 -0000 1.6
@@ -164,13 +164,12 @@
@defun car cons-cell
This function returns the value referred to by the first slot of the
-cons cell @var{cons-cell}. Expressed another way, this function
-returns the @sc{car} of @var{cons-cell}.
+cons cell @var{cons-cell}. In other words, it returns the @sc{car} of
address@hidden
-As a special case, if @var{cons-cell} is @code{nil}, then @code{car}
-is defined to return @code{nil}; therefore, any list is a valid argument
-for @code{car}. An error is signaled if the argument is not a cons cell
-or @code{nil}.
+As a special case, if @var{cons-cell} is @code{nil}, this function
+returns @code{nil}. Therefore, any list is a valid argument. An
+error is signaled if the argument is not a cons cell or @code{nil}.
@example
@group
@@ -185,14 +184,13 @@
@end defun
@defun cdr cons-cell
-This function returns the value referred to by the second slot of
-the cons cell @var{cons-cell}. Expressed another way, this function
-returns the @sc{cdr} of @var{cons-cell}.
-
-As a special case, if @var{cons-cell} is @code{nil}, then @code{cdr}
-is defined to return @code{nil}; therefore, any list is a valid argument
-for @code{cdr}. An error is signaled if the argument is not a cons cell
-or @code{nil}.
+This function returns the value referred to by the second slot of the
+cons cell @var{cons-cell}. In other words, it returns the @sc{cdr} of
address@hidden
+
+As a special case, if @var{cons-cell} is @code{nil}, this function
+returns @code{nil}; therefore, any list is a valid argument. An error
+is signaled if the argument is not a cons cell or @code{nil}.
@example
@group