aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-02-22 00:42:28 +0000
committerChong Yidong2009-02-22 00:42:28 +0000
commitb6a5263fb316be6e6ac0bc30f85120f4e3b92a56 (patch)
treed64b8a8dd6ff63b8bb76d73b8c8806ffea3a5cbd
parent4068c7b43c8e408b823830f9aab3354f48ad2b21 (diff)
downloademacs-b6a5263fb316be6e6ac0bc30f85120f4e3b92a56.tar.gz
emacs-b6a5263fb316be6e6ac0bc30f85120f4e3b92a56.zip
(List Elements): Copyedits.
-rw-r--r--doc/lispref/lists.texi26
1 files changed, 12 insertions, 14 deletions
diff --git a/doc/lispref/lists.texi b/doc/lispref/lists.texi
index fe83679bd4e..d38cdc14505 100644
--- a/doc/lispref/lists.texi
+++ b/doc/lispref/lists.texi
@@ -164,13 +164,12 @@ considered a list and @code{not} when it is considered a truth value
164 164
165@defun car cons-cell 165@defun car cons-cell
166This function returns the value referred to by the first slot of the 166This function returns the value referred to by the first slot of the
167cons cell @var{cons-cell}. Expressed another way, this function 167cons cell @var{cons-cell}. In other words, it returns the @sc{car} of
168returns the @sc{car} of @var{cons-cell}. 168@var{cons-cell}.
169 169
170As a special case, if @var{cons-cell} is @code{nil}, then @code{car} 170As a special case, if @var{cons-cell} is @code{nil}, this function
171is defined to return @code{nil}; therefore, any list is a valid argument 171returns @code{nil}. Therefore, any list is a valid argument. An
172for @code{car}. An error is signaled if the argument is not a cons cell 172error is signaled if the argument is not a cons cell or @code{nil}.
173or @code{nil}.
174 173
175@example 174@example
176@group 175@group
@@ -185,14 +184,13 @@ or @code{nil}.
185@end defun 184@end defun
186 185
187@defun cdr cons-cell 186@defun cdr cons-cell
188This function returns the value referred to by the second slot of 187This function returns the value referred to by the second slot of the
189the cons cell @var{cons-cell}. Expressed another way, this function 188cons cell @var{cons-cell}. In other words, it returns the @sc{cdr} of
190returns the @sc{cdr} of @var{cons-cell}. 189@var{cons-cell}.
191 190
192As a special case, if @var{cons-cell} is @code{nil}, then @code{cdr} 191As a special case, if @var{cons-cell} is @code{nil}, this function
193is defined to return @code{nil}; therefore, any list is a valid argument 192returns @code{nil}; therefore, any list is a valid argument. An error
194for @code{cdr}. An error is signaled if the argument is not a cons cell 193is signaled if the argument is not a cons cell or @code{nil}.
195or @code{nil}.
196 194
197@example 195@example
198@group 196@group