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
commitc74c521ddc5cbe93849f7d6be4c7476d69031072 (patch)
tree846b33450c5b1c4cdef7e53df4624a324cb4ceaf /lispref
parente30ab160b0cc7e4f4715ca0c4d421a0306024528 (diff)
downloademacs-c74c521ddc5cbe93849f7d6be4c7476d69031072.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