mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-25 19:11:56 +00:00
(List Elements): Copyedits.
This commit is contained in:
parent
4068c7b43c
commit
b6a5263fb3
@ -164,13 +164,12 @@ considered a list and @code{not} when it is considered a truth value
|
||||
|
||||
@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
|
||||
@var{cons-cell}.
|
||||
|
||||
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 @@ or @code{nil}.
|
||||
@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}.
|
||||
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
|
||||
@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}.
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user