(setcar): replace an antelope rather than
a giraffe with a hippopotamus.
This commit is contained in:
parent
78b3f5c3fa
commit
2b1575dfcf
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-05-25 David Kastrup <dak@gnu.org>
|
||||
|
||||
* emacs-lisp-intro.texi (setcar): replace an antelope rather than
|
||||
a giraffe with a hippopotamus.
|
||||
|
||||
2006-05-19 Thien-Thi Nguyen <ttn@gnu.org>
|
||||
|
||||
* emacs-lisp-intro.texi (Digression concerning error): Fix typo.
|
||||
|
|
|
@ -7061,7 +7061,7 @@ The first element on the list, @code{antelope} is replaced by
|
|||
@code{hippopotamus}.
|
||||
|
||||
So we can see that @code{setcar} did not add a new element to the list
|
||||
as @code{cons} would have; it replaced @code{giraffe} with
|
||||
as @code{cons} would have; it replaced @code{antelope} with
|
||||
@code{hippopotamus}; it @emph{changed} the list.
|
||||
|
||||
@node setcdr, cons Exercise, setcar, car cdr & cons
|
||||
|
|
Loading…
Add table
Reference in a new issue