diff options
| author | Chong Yidong | 2009-02-22 00:42:28 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-02-22 00:42:28 +0000 |
| commit | b6a5263fb316be6e6ac0bc30f85120f4e3b92a56 (patch) | |
| tree | d64b8a8dd6ff63b8bb76d73b8c8806ffea3a5cbd | |
| parent | 4068c7b43c8e408b823830f9aab3354f48ad2b21 (diff) | |
| download | emacs-b6a5263fb316be6e6ac0bc30f85120f4e3b92a56.tar.gz emacs-b6a5263fb316be6e6ac0bc30f85120f4e3b92a56.zip | |
(List Elements): Copyedits.
| -rw-r--r-- | doc/lispref/lists.texi | 26 |
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 |
| 166 | This function returns the value referred to by the first slot of the | 166 | This function returns the value referred to by the first slot of the |
| 167 | cons cell @var{cons-cell}. Expressed another way, this function | 167 | cons cell @var{cons-cell}. In other words, it returns the @sc{car} of |
| 168 | returns the @sc{car} of @var{cons-cell}. | 168 | @var{cons-cell}. |
| 169 | 169 | ||
| 170 | As a special case, if @var{cons-cell} is @code{nil}, then @code{car} | 170 | As a special case, if @var{cons-cell} is @code{nil}, this function |
| 171 | is defined to return @code{nil}; therefore, any list is a valid argument | 171 | returns @code{nil}. Therefore, any list is a valid argument. An |
| 172 | for @code{car}. An error is signaled if the argument is not a cons cell | 172 | error is signaled if the argument is not a cons cell or @code{nil}. |
| 173 | or @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 |
| 188 | This function returns the value referred to by the second slot of | 187 | This function returns the value referred to by the second slot of the |
| 189 | the cons cell @var{cons-cell}. Expressed another way, this function | 188 | cons cell @var{cons-cell}. In other words, it returns the @sc{cdr} of |
| 190 | returns the @sc{cdr} of @var{cons-cell}. | 189 | @var{cons-cell}. |
| 191 | 190 | ||
| 192 | As a special case, if @var{cons-cell} is @code{nil}, then @code{cdr} | 191 | As a special case, if @var{cons-cell} is @code{nil}, this function |
| 193 | is defined to return @code{nil}; therefore, any list is a valid argument | 192 | returns @code{nil}; therefore, any list is a valid argument. An error |
| 194 | for @code{cdr}. An error is signaled if the argument is not a cons cell | 193 | is signaled if the argument is not a cons cell or @code{nil}. |
| 195 | or @code{nil}. | ||
| 196 | 194 | ||
| 197 | @example | 195 | @example |
| 198 | @group | 196 | @group |