summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-03-27 22:16:51 +0000
committerRichard M. Stallman <rms@gnu.org>1995-03-27 22:16:51 +0000
commited859d61ce590b3d8d8446a70ea3ffcc1c21635b (patch)
tree683e6472189da2c467d2833b8d83d73772c537ec /lispref
parentf52265bd0d669bcd19e0a814d859aed01997410d (diff)
downloademacs-ed859d61ce590b3d8d8446a70ea3ffcc1c21635b.tar.gz
Fix setcdr example.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/lists.texi3
1 files changed, 1 insertions, 2 deletions
diff --git a/lispref/lists.texi b/lispref/lists.texi
index 0eb4a290f43..3f9a5c8d7e4 100644
--- a/lispref/lists.texi
+++ b/lispref/lists.texi
@@ -1417,8 +1417,7 @@ the associations of one copy without affecting the other:
@smallexample
@group
-(setcdr (assq 3 needles-per-cluster)
- '("Martian Vacuum Pine"))
+(setcdr (assq 3 copy) '("Martian Vacuum Pine"))
(cdr (assq 3 needles-per-cluster))
@result{} ("Pitch Pine")
@end group